27 lines
440 B
C++
27 lines
440 B
C++
#pragma once
|
|
|
|
#include "XMLParser.h"
|
|
#include <map>
|
|
#include <string>
|
|
|
|
typedef std::map< DWORD, std::string > STRING_MAP;
|
|
typedef STRING_MAP::iterator STRING_MAP_ITER;
|
|
|
|
|
|
class StringTableParser
|
|
{
|
|
public:
|
|
StringTableParser(void);
|
|
~StringTableParser(void);
|
|
|
|
public:
|
|
XMLParser m_XMLParser;
|
|
STRING_MAP m_mapMsgString;
|
|
|
|
|
|
public:
|
|
VOID Release();
|
|
BOOL Load( TCHAR* pszFileName );
|
|
VOID GetMessage( DWORD dwKey, std::string& strMsg );
|
|
};
|