This commit is contained in:
Igor Pavlov
2003-12-11 00:00:00 +00:00
committed by Kornel Lesiński
commit 8c1b5c7b7e
982 changed files with 118799 additions and 0 deletions

29
Common/Lang.h Executable file
View File

@@ -0,0 +1,29 @@
// Common/Lang.h
#pragma once
#ifndef __COMMON_LANG_H
#define __COMMON_LANG_H
#include "Common/Vector.h"
#include "Common/String.h"
struct CLangPair
{
UINT32 Value;
UString String;
};
class CLang
{
CObjectVector<CLangPair> _langPairs;
public:
bool Open(LPCTSTR fileName);
void Clear() { _langPairs.Clear(); }
int FindItem(UINT32 value) const;
bool GetMessage(UINT32 value, UString &message) const;
};
#endif