1*f6dc9357SAndroid Build Coastguard Worker // SettingsPage.h 2*f6dc9357SAndroid Build Coastguard Worker 3*f6dc9357SAndroid Build Coastguard Worker #ifndef ZIP7_INC_SETTINGS_PAGE_H 4*f6dc9357SAndroid Build Coastguard Worker #define ZIP7_INC_SETTINGS_PAGE_H 5*f6dc9357SAndroid Build Coastguard Worker 6*f6dc9357SAndroid Build Coastguard Worker #include "../../../Windows/Control/PropertyPage.h" 7*f6dc9357SAndroid Build Coastguard Worker // #include "../../../Windows/Control/ComboBox.h" 8*f6dc9357SAndroid Build Coastguard Worker #include "../../../Windows/Control/Edit.h" 9*f6dc9357SAndroid Build Coastguard Worker 10*f6dc9357SAndroid Build Coastguard Worker class CSettingsPage: public NWindows::NControl::CPropertyPage 11*f6dc9357SAndroid Build Coastguard Worker { 12*f6dc9357SAndroid Build Coastguard Worker bool _wasChanged; 13*f6dc9357SAndroid Build Coastguard Worker bool _largePages_wasChanged; 14*f6dc9357SAndroid Build Coastguard Worker bool _memx_wasChanged; 15*f6dc9357SAndroid Build Coastguard Worker bool _initMode; 16*f6dc9357SAndroid Build Coastguard Worker /* 17*f6dc9357SAndroid Build Coastguard Worker bool _wasChanged_MemLimit; 18*f6dc9357SAndroid Build Coastguard Worker NWindows::NControl::CComboBox _memCombo; 19*f6dc9357SAndroid Build Coastguard Worker UStringVector _memLimitStrings; 20*f6dc9357SAndroid Build Coastguard Worker UInt64 _ramSize; 21*f6dc9357SAndroid Build Coastguard Worker UInt64 _ramSize_Defined; 22*f6dc9357SAndroid Build Coastguard Worker 23*f6dc9357SAndroid Build Coastguard Worker int AddMemComboItem(UInt64 size, UInt64 percents = 0, bool isDefault = false); 24*f6dc9357SAndroid Build Coastguard Worker */ 25*f6dc9357SAndroid Build Coastguard Worker 26*f6dc9357SAndroid Build Coastguard Worker // void EnableSubItems(); 27*f6dc9357SAndroid Build Coastguard Worker bool OnCommand(unsigned code, unsigned itemID, LPARAM param) Z7_override; 28*f6dc9357SAndroid Build Coastguard Worker virtual bool OnButtonClicked(unsigned buttonID, HWND buttonHWND) Z7_override; 29*f6dc9357SAndroid Build Coastguard Worker virtual bool OnInit() Z7_override; 30*f6dc9357SAndroid Build Coastguard Worker virtual void OnNotifyHelp() Z7_override; 31*f6dc9357SAndroid Build Coastguard Worker virtual LONG OnApply() Z7_override; 32*f6dc9357SAndroid Build Coastguard Worker 33*f6dc9357SAndroid Build Coastguard Worker void EnableSpin(bool enable); 34*f6dc9357SAndroid Build Coastguard Worker public: 35*f6dc9357SAndroid Build Coastguard Worker }; 36*f6dc9357SAndroid Build Coastguard Worker 37*f6dc9357SAndroid Build Coastguard Worker #endif 38