Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
events: Added more events for processing calendar/event data
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 11 Jan 2017 19:33:32 +0000 (19:33 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 11 Jan 2017 19:33:32 +0000 (19:33 +0000)
source/common/events.h

index 0b679b1..cab29b3 100644 (file)
@@ -3,6 +3,22 @@
 
 #include <wx/wx.h>
 
+DEFINE_EVENT_TYPE(XCMAIN_PROCESSCALENDAR)
+DEFINE_EVENT_TYPE(XCMAIN_EDITCALENDAR)
+DEFINE_EVENT_TYPE(XCMAIN_DELETECALENDAR)
+DEFINE_EVENT_TYPE(XCMAIN_EDITEVENT)
+DEFINE_EVENT_TYPE(XCMAIN_DELETEEVENT)
+DEFINE_EVENT_TYPE(XCMAIN_ADDEVENT)
+DEFINE_EVENT_TYPE(XCMAIN_UPDATEEVENT)
+
+DECLARE_EVENT_TYPE(XCMAIN_PROCESSCALENDAR, wxID_ANY)
+DECLARE_EVENT_TYPE(XCMAIN_EDITCALENDAR, wxID_ANY)
+DECLARE_EVENT_TYPE(XCMAIN_DELETECALENDAR, wxID_ANY)
+DECLARE_EVENT_TYPE(XCMAIN_EDITEVENT, wxID_ANY)
+DECLARE_EVENT_TYPE(XCMAIN_DELETEEVENT, wxID_ANY)
+DECLARE_EVENT_TYPE(XCMAIN_ADDEVENT, wxID_ANY)
+DECLARE_EVENT_TYPE(XCMAIN_UPDATEEVENT, wxID_ANY)
+
 DEFINE_EVENT_TYPE(XCCALENDARDAY_UPDATEICONS)
 DEFINE_EVENT_TYPE(XCCALENDARDAY_DESELECTOTHERENTRIES)
 DEFINE_EVENT_TYPE(XCCALENDARDAY_DESELECTALLENTRIES)
@@ -29,18 +45,63 @@ DECLARE_EVENT_TYPE(XCCALENDARCTRL_HIDEACCOUNTENTRIES, wxID_ANY)
 DEFINE_EVENT_TYPE(XCCALENDARCTRL_SHOWACCOUNTENTRIES);
 DECLARE_EVENT_TYPE(XCCALENDARCTRL_SHOWACCOUNTENTRIES, wxID_ANY)
 
+DEFINE_EVENT_TYPE(XCCALENDARCTRL_DELETECALENDARENTRIES);
+DECLARE_EVENT_TYPE(XCCALENDARCTRL_DELETECALENDARENTRIES, wxID_ANY)
+
+DEFINE_EVENT_TYPE(XCCALENDARCTRL_DELETEENTRY);
+DECLARE_EVENT_TYPE(XCCALENDARCTRL_DELETEENTRY, wxID_ANY)
+
+DEFINE_EVENT_TYPE(XCCALENDARCTRL_ADDENTRY);
+DECLARE_EVENT_TYPE(XCCALENDARCTRL_ADDENTRY, wxID_ANY)
+
+DEFINE_EVENT_TYPE(XCCALENDARCTRL_UPDATEENTRY);
+DECLARE_EVENT_TYPE(XCCALENDARCTRL_UPDATEENTRY, wxID_ANY)
+
+DEFINE_EVENT_TYPE(XCCALENDARCTRL_UPDATECALENDARCOLOUR);
+DECLARE_EVENT_TYPE(XCCALENDARCTRL_UPDATECALENDARCOLOUR, wxID_ANY)
+
 DEFINE_EVENT_TYPE(XCCALENDARMONTH_HIDEACCOUNTENTRIES);
 DECLARE_EVENT_TYPE(XCCALENDARMONTH_HIDEACCOUNTENTRIES, wxID_ANY)
 
 DEFINE_EVENT_TYPE(XCCALENDARMONTH_SHOWACCOUNTENTRIES);
 DECLARE_EVENT_TYPE(XCCALENDARMONTH_SHOWACCOUNTENTRIES, wxID_ANY)
 
+DEFINE_EVENT_TYPE(XCCALENDARMONTH_DELETECALENDARENTRIES);
+DECLARE_EVENT_TYPE(XCCALENDARMONTH_DELETECALENDARENTRIES, wxID_ANY)
+
+DEFINE_EVENT_TYPE(XCCALENDARMONTH_DELETEENTRY)
+DECLARE_EVENT_TYPE(XCCALENDARMONTH_DELETEENTRY, wxID_ANY)
+
+DEFINE_EVENT_TYPE(XCCALENDARMONTH_ADDENTRY);
+DECLARE_EVENT_TYPE(XCCALENDARMONTH_ADDENTRY, wxID_ANY)
+
+DEFINE_EVENT_TYPE(XCCALENDARMONTH_UPDATEENTRY);
+DECLARE_EVENT_TYPE(XCCALENDARMONTH_UPDATEENTRY, wxID_ANY)
+
+DEFINE_EVENT_TYPE(XCCALENDARMONTH_UPDATECALENDARCOLOUR);
+DECLARE_EVENT_TYPE(XCCALENDARMONTH_UPDATECALENDARCOLOUR, wxID_ANY)
+
 DEFINE_EVENT_TYPE(XCCALENDARDAY_HIDEACCOUNTENTRIES);
 DECLARE_EVENT_TYPE(XCCALENDARDAY_HIDEACCOUNTENTRIES, wxID_ANY)
 
 DEFINE_EVENT_TYPE(XCCALENDARDAY_SHOWACCOUNTENTRIES);
 DECLARE_EVENT_TYPE(XCCALENDARDAY_SHOWACCOUNTENTRIES, wxID_ANY)
 
+DEFINE_EVENT_TYPE(XCCALENDARDAY_DELETECALENDARENTRIES);
+DECLARE_EVENT_TYPE(XCCALENDARDAY_DELETECALENDARENTRIES, wxID_ANY)
+
+DEFINE_EVENT_TYPE(XCCALENDARDAY_DELETEENTRY);
+DECLARE_EVENT_TYPE(XCCALENDARDAY_DELETEENTRY, wxID_ANY)
+
+DEFINE_EVENT_TYPE(XCCALENDARDAY_ADDENTRY)
+DECLARE_EVENT_TYPE(XCCALENDARDAY_ADDENTRY, wxID_ANY)
+
+DEFINE_EVENT_TYPE(XCCALENDARDAY_UPDATEENTRY)
+DECLARE_EVENT_TYPE(XCCALENDARDAY_UPDATEENTRY, wxID_ANY)
+
+DEFINE_EVENT_TYPE(XCCALENDARDAY_UPDATECALENDARCOLOUR);
+DECLARE_EVENT_TYPE(XCCALENDARDAY_UPDATECALENDARCOLOUR, wxID_ANY)
+
 DEFINE_EVENT_TYPE(XCCALENDARDAYENTRY_HIDEACCOUNTENTRIES);
 DECLARE_EVENT_TYPE(XCCALENDARDAYENTRY_HIDEACCOUNTENTRIES, wxID_ANY)
 
@@ -65,7 +126,8 @@ DECLARE_EVENT_TYPE(XCCALENDARMONTH_SHOWCALENDARENTRIES, wxID_ANY)
 DEFINE_EVENT_TYPE(XCCALENDARMONTH_HIDECALENDARENTRIES);
 DECLARE_EVENT_TYPE(XCCALENDARMONTH_HIDECALENDARENTRIES, wxID_ANY)
 
-
+DEFINE_EVENT_TYPE(XCCALENDARMONTH_DISPLAYEVENTMENU);
+DECLARE_EVENT_TYPE(XCCALENDARMONTH_DISPLAYEVENTMENU, wxID_ANY)
 
 #define ID_MONTHVIEWCLEARSELECTION 7000
 #define ID_DESELECTALLITEMS 7001
@@ -76,5 +138,17 @@ DECLARE_EVENT_TYPE(XCCALENDARMONTH_HIDECALENDARENTRIES, wxID_ANY)
 #define ID_CHANGEGRID 7006
 #define ID_ENTRYDESELECT 7007
 #define ID_DESELECTOTHERENTRIES 7008
+#define ID_PROCESSCALENDAR 7009
+#define ID_EDITCALENDAR 7010
+#define ID_DELETECALENDAR 7011
+#define ID_DELETECALENDARENTRIES 7012
+#define ID_EDITEVENT 7013
+#define ID_DELETEEVENT 7014
+#define ID_DISPLAYEVENTMENU 7015
+#define ID_EDITENTRY 7016
+#define ID_DELETEENTRY 7017
+#define ID_ADDENTRY 7018
+#define ID_UPDATEENTRY 7019
+#define ID_UPDATECOLOUR 7020
 
 #endif
\ No newline at end of file
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