diff options
Diffstat (limited to 'calendar/cal-util')
-rw-r--r-- | calendar/cal-util/calobj.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/calendar/cal-util/calobj.h b/calendar/cal-util/calobj.h index 57514250e5..c93c79f906 100644 --- a/calendar/cal-util/calobj.h +++ b/calendar/cal-util/calobj.h @@ -13,6 +13,7 @@ BEGIN_GNOME_DECLS +/* Alarm types */ enum AlarmType { ALARM_MAIL, ALARM_PROGRAM, @@ -20,12 +21,37 @@ enum AlarmType { ALARM_AUDIO }; +/* Whether the alarm should trigger N mins/hours/days before its due time */ enum AlarmUnit { ALARM_MINUTES, ALARM_HOURS, ALARM_DAYS }; +/* Field identifiers for the iCalObject structure */ +typedef enum { + ICAL_OBJECT_FIELD_COMMENT, + ICAL_OBJECT_FIELD_COMPLETED, + ICAL_OBJECT_FIELD_CREATED, + ICAL_OBJECT_FIELD_DESCRIPTION, + ICAL_OBJECT_FIELD_DTSTAMP, + ICAL_OBJECT_FIELD_DTSTART, + ICAL_OBJECT_FIELD_DTEND, + ICAL_OBJECT_FIELD_GEO, + ICAL_OBJECT_FIELD_LAST_MOD, + ICAL_OBJECT_FIELD_LOCATION, + ICAL_OBJECT_FIELD_ORGANIZER, + ICAL_OBJECT_FIELD_PERCENT, + ICAL_OBJECT_FIELD_PRIORITY, + ICAL_OBJECT_FIELD_SUMMARY, + ICAL_OBJECT_FIELD_URL, + ICAL_OBJECT_FIELD_DALARM, + ICAL_OBJECT_FIELD_AALARM, + ICAL_OBJECT_FIELD_PALARM, + ICAL_OBJECT_FIELD_MALARM, + ICAL_OBJECT_FIELD_NUM_FIELDS +} iCalObjectField; + typedef struct { enum AlarmType type; int enabled; |