mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-14 18:11:41 -06:00
3.13
This commit is contained in:
29
Common/Lang.h
Executable file
29
Common/Lang.h
Executable 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user