X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fwidgets%2FXCCalendarListAccountCtrl.h;h=b5ad9b09f1566a7f1205c3c9cb54088b033d56e4;hb=cba151c4b833a26c63984769f921bab5e755decd;hp=ae94b6ef5f55746e8c835e1e51d61bcfe14e744b;hpb=339434b90a0a03c3102b82a5dc45334b338bc59c;p=xestiacalendar%2F.git diff --git a/source/widgets/XCCalendarListAccountCtrl.h b/source/widgets/XCCalendarListAccountCtrl.h index ae94b6e..b5ad9b0 100644 --- a/source/widgets/XCCalendarListAccountCtrl.h +++ b/source/widgets/XCCalendarListAccountCtrl.h @@ -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 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 GetHiddenCalendarList(); + + DECLARE_EVENT_TABLE(); };