aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calobj.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/calobj.h')
-rw-r--r--calendar/calobj.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/calendar/calobj.h b/calendar/calobj.h
index 37ea79040d..7dc810b459 100644
--- a/calendar/calobj.h
+++ b/calendar/calobj.h
@@ -85,6 +85,13 @@ typedef struct {
int frequency;
} Recurrence;
+/* Flags to indicate what has changed in an object */
+typedef enum {
+ CHANGE_NEW = 1 << 0, /* new object */
+ CHANGE_SUMMARY = 1 << 1, /* summary */
+ CHANGE_DATES = 1 << 2 /* dtstart / dtend */
+} CalObjectChange;
+
/*
* This describes an iCalendar object, note that we never store durations, instead we
* always compute the end time computed from the start + duration.