init code

This commit is contained in:
2025-07-24 04:08:36 +08:00
commit 0430307f4b
22 changed files with 1186 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#ifndef CSERVERMANAGER_H
#define CSERVERMANAGER_H
/***************************************************************
* @file CServerManager.h
* @author Art_Sakura
* @date 2025-07-24
* @brief 项目由单例设计模式控制, 该类是控制全部服务端父类的单例类
* 所有父类都应创建声明在此处, 方便统一管理
***************************************************************/
namespace NS_QGobangServer
class CServerManager
{
public:
static CServerManager *getInstance();
private:
CServerManager();
private:
static CServerManager *m_pInstance;
};
#endif // CSERVERMANAGER_H