1 #ifndef __frmCalendarEditor__
2 #define __frmCalendarEditor__
6 Subclass of frmCalendarEditorADT, which is generated by wxFormBuilder.
12 #include "../../AppXestiaCalendar.h"
14 #include "preferences.h"
19 //// end generated include
21 /** Implementing frmCalendarEditorADT */
22 class frmCalendarEditor : public frmCalendarEditorADT
25 bool editMode = false;
26 XCALPreferences *preferencesData = nullptr;
27 vector<int> accountPrefencesIDList;
29 std::string accountName = "";
32 void CloseWindow( wxCommandEvent &event );
33 void ProcessCalendar( wxCommandEvent &event );
36 frmCalendarEditor( wxWindow* parent );
37 //// end generated class members
38 void SetMode(bool setMode);
39 void SetupAccounts(XCALPreferences *preferencesData);
40 void SetData(int calendarID, std::string accountName, std::string calendarName, std::string calendarDescription, Colour calendarColour);
44 #endif // __frmCalendarEditor__