X-Git-Url: http://Server1/repobrowser/?p=xestiacalendar%2F.git;a=blobdiff_plain;f=source%2Fwidgets%2FXCCalendarListAccountCtrl.h;h=da782bb3cc38e93bb131cd8b34dfa6748634bc3f;hp=ae94b6ef5f55746e8c835e1e51d61bcfe14e744b;hb=baa27c175ee6111fd4b88a3c53614a9b6be3541e;hpb=e79afea4cd8930a1ebbdda0e3543dd0a89e45b34 diff --git a/source/widgets/XCCalendarListAccountCtrl.h b/source/widgets/XCCalendarListAccountCtrl.h index ae94b6e..da782bb 100644 --- a/source/widgets/XCCalendarListAccountCtrl.h +++ b/source/widgets/XCCalendarListAccountCtrl.h @@ -25,6 +25,7 @@ #include "types.h" #include "colour.h" +#include "events.h" #include "XCCalendarListCalendarCtrl.h" class XCCalendarListAccountCtrl: public wxPanel{ @@ -40,10 +41,18 @@ class XCCalendarListAccountCtrl: public wxPanel{ 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); + std::vector GetHiddenCalendarList(); + + DECLARE_EVENT_TABLE(); };