Reorganize into types

FossilOrigin-Name: 222fe0f8bc9d576d29c1198db0b284e80dd39e0a1cc6e21145363244d8945447
This commit is contained in:
nekobit 2022-10-23 06:24:54 +00:00
parent 16a0aa831c
commit 8a45c5bec2
15 changed files with 11 additions and 11 deletions

View file

@ -25,9 +25,9 @@ add_library(wormhole_lib
src/config/config_db.cpp
src/config/config_loader.cpp
src/config/config_instance.cpp
src/type/thread_pool.cpp
src/types/user.cpp
src/thread_pool.cpp
src/random.cpp
src/user.cpp
src/control.cpp
src/logger.cpp)

View file

@ -28,7 +28,7 @@
#include <getopt.h>
#include "control.h"
#include "database/database.h"
#include "user.h"
#include "types/user.h"
namespace {
constexpr int CMD_GAP = 27;

View file

@ -20,7 +20,7 @@
#include <string>
#include <memory>
#include "user.h"
#include "types/user.h"
#include "crypt/rsa.h"
namespace DB

View file

@ -24,7 +24,7 @@
#include <map>
#include "mime.h"
#include "responsecode.h"
#include "type/stringvariant.h"
#include "stringvariant.h"
namespace HTTP
{

View file

@ -24,7 +24,7 @@
#include "http/mime.h"
#include "http/response.h"
#include "http/responsecode.h"
#include "user.h"
#include "types/user.h"
#include "activitypub.h"
#include "types/object.h"
#include "http/httpserver.h"

View file

@ -24,7 +24,7 @@
#include "http/mime.h"
#include "http/response.h"
#include "http/responsecode.h"
#include "user.h"
#include "types/user.h"
#include "hostmeta.h"
#include "http/httpserver.h"
#include "http/request.h"

View file

@ -1,4 +1,4 @@
add_library(wormhole_masto_api_module
mastoapi.cpp)
mastoapi.cpp apps.cpp)
include_directories(wormhole_masto_api_module ${WORMHOLE_INCLUDE_DIRS})
target_link_libraries(wormhole_masto_api_module wormhole_lib)

View file

@ -27,7 +27,7 @@
#include "http/httpserver.h"
#include "http/error_response.h"
#include "http/request.h"
#include "user.h"
#include "types/user.h"
#include "logger.h"
#include "jsonhelper.h"
#include "route_args.h"

View file

@ -29,7 +29,7 @@
#include "http/error_response.h"
#include "http/request.h"
#include "random.h"
#include "user.h"
#include "types/user.h"
#include "logger.h"
#include "jsonhelper.h"
#include "route_args.h"

View file

@ -24,7 +24,7 @@
#include "http/mime.h"
#include "http/response.h"
#include "http/responsecode.h"
#include "user.h"
#include "types/user.h"
#include "webfinger.h"
#include "stringhelper.h"
#include "http/httpserver.h"