Files
2022-10-26 12:25:11 +08:00

30 lines
703 B
C++

#pragma once
//////////////////////////////////////////////////////////////////////////
// <TYPE DEFINTION>
class ServerSession;
//////////////////////////////////////////////////////////////////////////
//
class MainFrame
{
// <TYPE DEFINTION>
typedef map<DWORD, ServerSession*> SERVER_SESSION_MAP;
typedef SERVER_SESSION_MAP::iterator SERVER_SESSION_MAP_IT;
public:
// <CONSTRUCTOR><DESTRUCTOR>
private: MainFrame();
~MainFrame();
public: static void CreateInstance();
static void DestroyInstance();
static MainFrame* GetMainFrame();
// <METHODs>
public: BOOL Update();
BOOL ConsoleProcess();
// <FIELDs>
private: SERVER_SESSION_MAP m_ServerSessionMap;
};