#ifndef _SERVER_INFO_H_ #define _SERVER_INFO_H_ #include // ½ºÅ©¸³Æ® ÆÄÀÏ ( Key = Value ) class CServerInfo : public CStaticSingleton { public: CServerInfo(); ~CServerInfo(); bool Reload(const char* szFileName = ms_szInfoFileName); const char* GetValue(const char* szKeyName); const char* GetFileName(); private: typedef std::map ServerInfoTable; ServerInfoTable m_ServerInfoTable; static const char* ms_szInfoFileName; }; #endif