mirror of
https://github.com/yawaflua/SpCloudCore.git
synced 2025-12-09 20:19:35 +02:00
Introduce mongo and discord services
This commit is contained in:
@@ -10,6 +10,8 @@ add_executable(SpCloudMain
|
||||
"Service/AuthorizationService.cpp"
|
||||
"Service/FileProcessingService.cpp"
|
||||
"Service/CommandService.cpp"
|
||||
"Service/DiscordService.cpp"
|
||||
"Service/MongoDbService.cpp"
|
||||
"Service/Logger.cpp"
|
||||
"Models/User.cpp")
|
||||
|
||||
|
||||
@@ -10,5 +10,10 @@ public:
|
||||
return true;//Todo implement logic for authorization processing
|
||||
}
|
||||
|
||||
void register_user(User user) {
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
12
SpCloudMain/Service/DiscordService.cpp
Normal file
12
SpCloudMain/Service/DiscordService.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
// ReSharper disable CppClangTidyBugproneSuspiciousInclude
|
||||
|
||||
class DiscordService
|
||||
{
|
||||
|
||||
public:
|
||||
DiscordService()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
};
|
||||
16
SpCloudMain/Service/MongoDbService.cpp
Normal file
16
SpCloudMain/Service/MongoDbService.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
//// ReSharper disable CppClangTidyBugproneSuspiciousInclude
|
||||
//
|
||||
//#include <bsoncxx/json.hpp>
|
||||
//#include <mongocxx/client.hpp>
|
||||
//#include <mongocxx/instance.hpp>
|
||||
|
||||
class MongoDbService
|
||||
{
|
||||
|
||||
public:
|
||||
MongoDbService()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user