diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-06-12 21:41:41 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-06-13 20:22:51 +0800 |
| commit | 6f7b994684032060f0a2d7af82f4f3572293b8d6 (patch) | |
| tree | 793d328cbcd6761365267550b55db45aee9b21fc /src/chatServer.hpp | |
| parent | 6a51ab4525c59e9fe2bdbd92493019b0a98c6b94 (diff) | |
internal!: organized internal structure, using cmake now
Diffstat (limited to 'src/chatServer.hpp')
| -rw-r--r-- | src/chatServer.hpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/chatServer.hpp b/src/chatServer.hpp deleted file mode 100644 index 00d2979..0000000 --- a/src/chatServer.hpp +++ /dev/null @@ -1,20 +0,0 @@ -#include <memory> -#include <thread> - -class CChatServer { - public: - CChatServer(uint16_t port); - ~CChatServer(); - void start(); - void cleanup(); - - private: - uint16_t m_port; - - void initManagers(); - void initServer(); - - std::jthread m_sessionManagerThread; -}; - -inline std::unique_ptr<CChatServer> g_pChatServer; |
