#ifndef __frmCalendarEditor__ #define __frmCalendarEditor__ /** @file Subclass of frmCalendarEditorADT, which is generated by wxFormBuilder. */ #include #include #include "../../AppXestiaCalendar.h" #include "preferences.h" #include "events.h" #include "structs.h" #include "colour.h" //// end generated include /** Implementing frmCalendarEditorADT */ class frmCalendarEditor : public frmCalendarEditorADT { private: bool editMode = false; XCALPreferences *preferencesData = nullptr; vector accountPrefencesIDList; int calendarID = 0; std::string accountName = ""; protected: void CloseWindow( wxCommandEvent &event ); void ProcessCalendar( wxCommandEvent &event ); public: /** Constructor */ frmCalendarEditor( wxWindow* parent ); //// end generated class members void SetMode(bool setMode); void SetupAccounts(XCALPreferences *preferencesData); void SetData(int calendarID, std::string accountName, std::string calendarName, std::string calendarDescription, Colour calendarColour); }; #endif // __frmCalendarEditor__