Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Updated/Added copyright header and licensing to all source files
[xestiacalendar/.git] / source / widgets / XCCalendarListAccountCtrl.h
index ae94b6e..b5ad9b0 100644 (file)
@@ -1,6 +1,6 @@
 // XCCalendarListAccountCtrl.h - XCCalendarListAccountCtrl class header
 //
-// (c) 2016 Xestia Software Development.
+// (c) 2016-2017 Xestia Software Development.
 //
 // This file is part of Xestia Calendar.
 //
@@ -25,6 +25,7 @@
 
 #include "types.h"
 #include "colour.h"
+#include "events.h"
 #include "XCCalendarListCalendarCtrl.h"
 
 class XCCalendarListAccountCtrl: public wxPanel{
@@ -37,13 +38,24 @@ class XCCalendarListAccountCtrl: public wxPanel{
        protected:
                std::vector<XCCalendarListCalendarCtrl*> calendarControlList;
                int accountID = 0;
+               int accountPreferencesID = 0;
                AccountType accountType = ACCOUNTTYPE_UNKNOWN;
                std::string accountName = "";
                bool showAccounts = true;
+       
+               void ShowAllCheckboxClick( wxMouseEvent &mouseEvent );
        public:
                XCCalendarListAccountCtrl(wxWindow* parent, string accountName);
                ~XCCalendarListAccountCtrl();
                void AddCalendar(XCCalendarListCalendarCtrl *calendarControl);
+               wxCheckBoxState GetShowCheckboxState();
+               int GetAccountID();
+               void SetAccountID(int accountID);
+               void SetAccountPreferencesID(int accountID);
+               void SetCheckBoxValue(wxCheckBoxState newValue);
+               std::vector<int> GetHiddenCalendarList();
+
+       DECLARE_EVENT_TABLE();
        
 };
 
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