1 // LangPage.h 2 3 #ifndef ZIP7_INC_LANG_PAGE_H 4 #define ZIP7_INC_LANG_PAGE_H 5 6 #include "../../../Windows/Control/PropertyPage.h" 7 #include "../../../Windows/Control/ComboBox.h" 8 9 struct CLangInfo 10 { 11 unsigned NumLines; 12 UString Name; 13 UStringVector Comments; 14 UStringVector MissingLines; 15 UStringVector ExtraLines; 16 }; 17 18 class CLangPage: public NWindows::NControl::CPropertyPage 19 { 20 NWindows::NControl::CComboBox _langCombo; 21 CObjectVector<CLangInfo> _langs; 22 unsigned NumLangLines_EN; 23 bool _needSave; 24 25 void ShowLangInfo(); 26 public: 27 bool LangWasChanged; 28 CLangPage()29 CLangPage(): _needSave(false), LangWasChanged(false) {} 30 virtual bool OnInit() Z7_override; 31 virtual void OnNotifyHelp() Z7_override; 32 virtual bool OnCommand(unsigned code, unsigned itemID, LPARAM param) Z7_override; 33 virtual LONG OnApply() Z7_override; 34 }; 35 36 #endif 37