summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-03-04 23:29:39 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-03-04 23:29:39 +0800
commit09d899230c3d31bd405cc3407c6c372ab9091e98 (patch)
treec6a34436ec3d1a3e99dde3b97dea820d85dc37b9 /src/main.cpp
parentbf95e496e2f03fcffb9c6043307f13c99a18d8d0 (diff)
refactor!: python -> c++
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
new file mode 100644
index 0000000..1cf50b5
--- /dev/null
+++ b/src/main.cpp
@@ -0,0 +1,9 @@
+#include "sessionManager.hpp"
+#include "server.hpp"
+
+int main() {
+ g_pServer = std::make_unique<CServer>(8080);
+ g_pSessionManager = std::make_unique<CSessionManager>();
+ g_pSessionManager->enterLoop();
+ return 0;
+}