+// events.h - Events header.
+//
+// (c) 2016-2017 Xestia Software Development.
+//
+// This file is part of Xestia Calendar.
+//
+// Xestia Calendar is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by the
+// Free Software Foundation, version 3 of the license.
+//
+// Xestia Calendar is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with Xestia Calendar. If not, see <http://www.gnu.org/licenses/>
+
#ifndef __COMMON_EVENTS_H__
#define __COMMON_EVENTS_H__
DECLARE_EVENT_TYPE(XCMAIN_ADDEVENT, wxID_ANY)
DECLARE_EVENT_TYPE(XCMAIN_UPDATEEVENT, wxID_ANY)
+DEFINE_EVENT_TYPE(XCMAIN_ADDWINDOWINFO)
+DEFINE_EVENT_TYPE(XCMAIN_UPDATEWINDOWINFO)
+DEFINE_EVENT_TYPE(XCMAIN_DELETEWINDOWINFO)
+
+DECLARE_EVENT_TYPE(XCMAIN_ADDWINDOWINFO, wxID_ANY)
+DECLARE_EVENT_TYPE(XCMAIN_UPDATEWINDOWINFO, wxID_ANY)
+DECLARE_EVENT_TYPE(XCMAIN_DELETEWINDOWINFO, wxID_ANY)
+
DEFINE_EVENT_TYPE(XCCALENDARDAY_UPDATEICONS)
DEFINE_EVENT_TYPE(XCCALENDARDAY_DESELECTOTHERENTRIES)
DEFINE_EVENT_TYPE(XCCALENDARDAY_DESELECTALLENTRIES)
#define ID_ADDENTRY 7018
#define ID_UPDATEENTRY 7019
#define ID_UPDATECOLOUR 7020
+#define ID_ADDWINDOW 7021
+#define ID_UPDATEWINDOW 7022
+#define ID_DELETEWINDOW 7023
+
+struct WindowData{
+
+ int DataType;
+ void *WindowPointer;
+ int WindowID;
+
+};
#endif
\ No newline at end of file