Files
Sun1602/Tools/SunUpdateManager/SunUpdateServer/PatchInfoParser.h
T
2022-10-26 12:25:11 +08:00

27 lines
453 B
C++

#pragma once
//#include "XMLParser.h"
#include "PatchInfo.h"
#include <Singleton.h>
#include <map>
class PatchInfoParser : public Singleton<PatchInfoParser>
{
public:
PatchInfoParser(void);
~PatchInfoParser(void);
public:
BOOL Load();
BOOL Save();
PatchInfo* FindData( DWORD dwKey );
public:
typedef std::map< DWORD, PatchInfo* > PATCHINFO_MAP;
typedef PATCHINFO_MAP::iterator PATCHINFO_ITER;
private:
PATCHINFO_MAP m_mapPatchInfo;
};