00001 00014 #ifndef __EDITABLEINWINDOWCONFIG__H__ 00015 #define __EDITABLEINWINDOWCONFIG__H__ 00016 00017 #include "../common.h" 00018 #include "BaseConfig.h" 00019 00026 class EditableInWindowConfig: public BaseConfig { 00027 public: 00031 EditableInWindowConfig(): 00032 BaseConfig(), wasEdited(false) {} 00033 00037 virtual ~EditableInWindowConfig() {} 00038 00044 virtual void ShowEditationWindow(wxWindow * parent, bool waitUntilClosed = true) =0; 00045 00049 bool WasEdited() const { 00050 return wasEdited; 00051 } 00052 00057 void SetEditationState(bool edited) { 00058 wasEdited = edited; 00059 } 00060 00061 private: 00063 bool wasEdited; 00064 }; 00065 00066 #endif /* #ifndef __EDITABLEINWINDOWCONFIG__H__ */ 00067 00068 /* End of file EditableInWindowConfig.h */