Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
24 lines
459 B
C++
24 lines
459 B
C++
#ifndef _MANAGE_SERVER_TOOL_DB_FILE_DB_LIB_SQL_LITE_
|
|
#define _MANAGE_SERVER_TOOL_DB_FILE_DB_LIB_SQL_LITE_
|
|
|
|
class CSQLite;
|
|
|
|
class CManageServerDB
|
|
{
|
|
public:
|
|
|
|
static const char* GetDefaultDBFileName();
|
|
static CManageServerDB& GetInstance();
|
|
|
|
bool Initialize(const char* szDBFileName = CManageServerDB::GetDefaultDBFileName());
|
|
CSQLite& GetSQLite() { return *m_lpSQLite; }
|
|
|
|
private:
|
|
|
|
CManageServerDB();
|
|
~CManageServerDB();
|
|
|
|
CSQLite* m_lpSQLite;
|
|
};
|
|
|
|
#endif |