chore: initial commit (extracted from Launchers monorepo)
Plugin: ns7zip v2.0.0 Architectures: x86-ansi, x86-unicode, amd64-unicode License: LGPL-2.1-or-later
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
// LangPage.h
|
||||
|
||||
#ifndef ZIP7_INC_LANG_PAGE_H
|
||||
#define ZIP7_INC_LANG_PAGE_H
|
||||
|
||||
#include "../../../Windows/Control/PropertyPage.h"
|
||||
#include "../../../Windows/Control/ComboBox.h"
|
||||
|
||||
struct CLangInfo
|
||||
{
|
||||
unsigned NumLines;
|
||||
UString Name;
|
||||
UStringVector Comments;
|
||||
UStringVector MissingLines;
|
||||
UStringVector ExtraLines;
|
||||
};
|
||||
|
||||
class CLangPage: public NWindows::NControl::CPropertyPage
|
||||
{
|
||||
NWindows::NControl::CComboBox _langCombo;
|
||||
CObjectVector<CLangInfo> _langs;
|
||||
unsigned NumLangLines_EN;
|
||||
bool _needSave;
|
||||
|
||||
void ShowLangInfo();
|
||||
public:
|
||||
bool LangWasChanged;
|
||||
|
||||
CLangPage(): _needSave(false), LangWasChanged(false) {}
|
||||
virtual bool OnInit() Z7_override;
|
||||
virtual void OnNotifyHelp() Z7_override;
|
||||
virtual bool OnCommand(unsigned code, unsigned itemID, LPARAM param) Z7_override;
|
||||
virtual LONG OnApply() Z7_override;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user