From eb7c5ae3c5fa9ab3bab2a60d7a0c8a5a4ed93cb7 Mon Sep 17 00:00:00 2001 From: Eskil Heyn Olsen Date: Fri, 31 Dec 1999 15:58:08 +0000 Subject: Committed fixes for the end-on-day recurrence bug where the last day was skipped. Also fixed problem with multiple setitimer calls that where especially pesky in the corba part, where corba calls would cause numerous alarm dialogs when the events alarm went off. svn path=/trunk/; revision=1525 --- calendar/calendar.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'calendar/calendar.h') diff --git a/calendar/calendar.h b/calendar/calendar.h index 4a9d4bcff2..858f0151ca 100644 --- a/calendar/calendar.h +++ b/calendar/calendar.h @@ -41,7 +41,12 @@ typedef struct { iCalObject *ico; } CalendarObject; -Calendar *calendar_new (char *title); +typedef enum { + CALENDAR_INIT_NIL = 0, + CALENDAR_INIT_ALARMS = 1 << 0 +} CalendarNewOptions; + +Calendar *calendar_new (char *title,CalendarNewOptions options); char *calendar_get_as_vcal_string (Calendar *cal); char *calendar_string_from_object (iCalObject *object); -- cgit v1.2.3