aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/cal-util')
-rw-r--r--calendar/cal-util/calobj.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/calendar/cal-util/calobj.h b/calendar/cal-util/calobj.h
index 37ea79040d..7dc810b459 100644
--- a/calendar/cal-util/calobj.h
+++ b/calendar/cal-util/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.