Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
structs: Added header for structs used within Xestia Calendar
[xestiacalendar/.git] / source / common / structs.h
1 #ifndef __COMMON_STRUCTS_H__
2 #define __COMMON_STRUCTS_H__
4 #include <string>
6 #include "colour.h"
8 struct CalendarProperties {
9         bool editMode = false;
10         int accountPreferencesID = -1;
11         int accountID = 0;
12         int calendarID = 0;
13         std::string accountName = "";
14         std::string calendarName = "";
15         std::string calendarDescription = "";
16         Colour calendarColour;
17 };
19 struct EventProperties {
20         bool editMode = false;
21         int accountPreferencesID = -1;
22         int accountID = 0;
23         int calendarID = 0;
24         int eventID = 0;
25         std::string eventName = "";
26         std::string eventDescipriton = "";
27         int eventYear = 0;
28         int eventMonth = 0;
29         int eventDay = 0;
30         int eventHour = 0;
31         int eventMinute = 0;
32         int eventSecond = 0;
33         std::vector<int> hideAccountsList;
34         std::vector<int> hideCalendarsList;     
35 };
37 struct ColourUpdateProperties{
38         int calendarID = 0;
39         Colour newColour;
40 };
42 enum XCCalendarMenuID {
43         ID_CALENDARMENU_EDIT = 1,
44         ID_CALENDARMENU_DELETE,
45 };
47 enum XCEventMenuID {
48         ID_EVENTMENU_EDIT = 1,
49         ID_EVENTMENU_DELETE,
50 };
52 #endif
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