summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/domain/applicationdomaintype.cpp2
-rw-r--r--common/domain/applicationdomaintype.h2
-rw-r--r--common/domain/event.fbs2
-rw-r--r--common/domain/typeimplementations.cpp2
4 files changed, 8 insertions, 0 deletions
diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp
index 93b02a9..78d46ee 100644
--- a/common/domain/applicationdomaintype.cpp
+++ b/common/domain/applicationdomaintype.cpp
@@ -128,6 +128,8 @@ SINK_REGISTER_PROPERTY(Event, Uid);
128SINK_REGISTER_PROPERTY(Event, Summary); 128SINK_REGISTER_PROPERTY(Event, Summary);
129SINK_REGISTER_PROPERTY(Event, Description); 129SINK_REGISTER_PROPERTY(Event, Description);
130SINK_REGISTER_PROPERTY(Event, StartTime); 130SINK_REGISTER_PROPERTY(Event, StartTime);
131SINK_REGISTER_PROPERTY(Event, EndTime);
132SINK_REGISTER_PROPERTY(Event, Ical);
131SINK_REGISTER_PROPERTY(Event, Calendar); 133SINK_REGISTER_PROPERTY(Event, Calendar);
132 134
133SINK_REGISTER_ENTITY(Calendar); 135SINK_REGISTER_ENTITY(Calendar);
diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h
index e05acaa..43d385c 100644
--- a/common/domain/applicationdomaintype.h
+++ b/common/domain/applicationdomaintype.h
@@ -400,6 +400,8 @@ struct SINK_EXPORT Event : public Entity {
400 SINK_PROPERTY(QString, Summary, summary); 400 SINK_PROPERTY(QString, Summary, summary);
401 SINK_PROPERTY(QString, Description, description); 401 SINK_PROPERTY(QString, Description, description);
402 SINK_PROPERTY(QDateTime, StartTime, startTime); 402 SINK_PROPERTY(QDateTime, StartTime, startTime);
403 SINK_PROPERTY(QDateTime, EndTime, endTime);
404 SINK_PROPERTY(QByteArray, Ical, ical);
403 SINK_REFERENCE_PROPERTY(Calendar, Calendar, calendar); 405 SINK_REFERENCE_PROPERTY(Calendar, Calendar, calendar);
404}; 406};
405 407
diff --git a/common/domain/event.fbs b/common/domain/event.fbs
index 68c8608..77aaef6 100644
--- a/common/domain/event.fbs
+++ b/common/domain/event.fbs
@@ -5,6 +5,8 @@ table Event {
5 summary:string; 5 summary:string;
6 description:string; 6 description:string;
7 startTime:string; 7 startTime:string;
8 endTime:string;
9 ical:string;
8 calendar:string; 10 calendar:string;
9} 11}
10 12
diff --git a/common/domain/typeimplementations.cpp b/common/domain/typeimplementations.cpp
index fe70d74..615c8e8 100644
--- a/common/domain/typeimplementations.cpp
+++ b/common/domain/typeimplementations.cpp
@@ -207,6 +207,8 @@ void TypeImplementation<Event>::configure(PropertyMapper &propertyMapper)
207 SINK_REGISTER_SERIALIZER(propertyMapper, Event, Description, description); 207 SINK_REGISTER_SERIALIZER(propertyMapper, Event, Description, description);
208 SINK_REGISTER_SERIALIZER(propertyMapper, Event, Uid, uid); 208 SINK_REGISTER_SERIALIZER(propertyMapper, Event, Uid, uid);
209 SINK_REGISTER_SERIALIZER(propertyMapper, Event, StartTime, startTime); 209 SINK_REGISTER_SERIALIZER(propertyMapper, Event, StartTime, startTime);
210 SINK_REGISTER_SERIALIZER(propertyMapper, Event, EndTime, endTime);
211 SINK_REGISTER_SERIALIZER(propertyMapper, Event, Ical, ical);
210 SINK_REGISTER_SERIALIZER(propertyMapper, Event, Calendar, calendar); 212 SINK_REGISTER_SERIALIZER(propertyMapper, Event, Calendar, calendar);
211} 213}
212 214