Files
easy7zip/CPP/Common/Lang.h
Igor Pavlov b82f80647d 4.54 beta
2016-05-28 00:15:54 +01:00

29 lines
425 B
C++
Executable File

// Common/Lang.h
#ifndef __COMMON_LANG_H
#define __COMMON_LANG_H
#include "MyVector.h"
#include "MyString.h"
#include "Types.h"
struct CLangPair
{
UInt32 Value;
UString String;
};
class CLang
{
CObjectVector<CLangPair> _langPairs;
public:
bool Open(LPCWSTR fileName);
void Clear() { _langPairs.Clear(); }
int FindItem(UInt32 value) const;
bool GetMessage(UInt32 value, UString &message) const;
};
#endif