summaryrefslogtreecommitdiff
path: root/src/chatServer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chatServer.hpp')
-rw-r--r--src/chatServer.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/chatServer.hpp b/src/chatServer.hpp
new file mode 100644
index 0000000..7109593
--- /dev/null
+++ b/src/chatServer.hpp
@@ -0,0 +1,15 @@
+#include <memory>
+
+class CChatServer {
+public:
+ CChatServer();
+ ~CChatServer();
+ void start();
+ void cleanup();
+private:
+ void initManagers();
+ void initServer();
+};
+
+inline std::unique_ptr<CChatServer> g_pChatServer;
+