Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
frmMain: Added code to setup, quit and load some account data
[xestiacalendar/.git] / source / forms / main / frmMain.h
index bce60c6..32017cc 100644 (file)
@@ -6,10 +6,15 @@
 Subclass of frmMainADT, which is generated by wxFormBuilder.
 */
 
+#include <map>
+
 #include "../../AppXestiaCalendar.h"
 #include "../../widgets/XCCalendarCtrl.h"
+#include "../../libraries/CalendarDataStorage/CalendarDataStorage.h"
+#include "../../objects/calendarlist/CalendarList.h"
 #include "events.h"
-
+#include "preferences.h"
+#include "dirs.h"
 
 //// end generated include
 
@@ -18,10 +23,17 @@ class frmMain : public frmMainADT
 {
        
        private:
-               XCCalendarCtrl *MainCalendarCtrl = nullptr;
-               XCCalendarMonthView *MonthViewCtrl = nullptr;
+               XCCalendarCtrl *mainCalendarCtrl = nullptr;
+               XCCalendarMonthView *monthViewCtrl = nullptr;
+               XCALPreferences *preferences = nullptr;
+               CalendarDataStorage calendarData;
        
        protected:
+               void QuitApp( wxCloseEvent& event );
+               void QuitApp( wxCommandEvent& event );
+               void QuitApp();
+               void LoadAccountData();
+
        
        public:
                /** Constructor */
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy