Files
easy7zip/Common/Lang.h
Igor Pavlov 8c1b5c7b7e 3.13
2016-05-28 00:15:41 +01:00

30 lines
430 B
C++
Executable File

// 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