diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-04 10:44:29 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-04 10:44:29 +0800 |
commit | f4295ffe09c2994a93eff4d4c73505f2bc291a59 (patch) | |
tree | ea15367750bae25c44a3fa79d241f5fb43ebad54 /calendar/calobj.h | |
parent | 1be7718e7d14edf3b4501de53fd600af1a53a156 (diff) | |
download | gsoc2013-evolution-f4295ffe09c2994a93eff4d4c73505f2bc291a59.tar gsoc2013-evolution-f4295ffe09c2994a93eff4d4c73505f2bc291a59.tar.gz gsoc2013-evolution-f4295ffe09c2994a93eff4d4c73505f2bc291a59.tar.bz2 gsoc2013-evolution-f4295ffe09c2994a93eff4d4c73505f2bc291a59.tar.lz gsoc2013-evolution-f4295ffe09c2994a93eff4d4c73505f2bc291a59.tar.xz gsoc2013-evolution-f4295ffe09c2994a93eff4d4c73505f2bc291a59.tar.zst gsoc2013-evolution-f4295ffe09c2994a93eff4d4c73505f2bc291a59.zip |
Lots -mig
svn path=/trunk/; revision=103
Diffstat (limited to 'calendar/calobj.h')
-rw-r--r-- | calendar/calobj.h | 38 |
1 files changed, 29 insertions, 9 deletions
diff --git a/calendar/calobj.h b/calendar/calobj.h index b16fe5f850..00dbd5c63e 100644 --- a/calendar/calobj.h +++ b/calendar/calobj.h @@ -12,11 +12,32 @@ BEGIN_GNOME_DECLS +enum AlarmType { + ALARM_MAIL, + ALARM_PROGRAM, + ALARM_DISPLAY, + ALARM_AUDIO +}; + +enum AlarmUnit { + ALARM_MINUTES, + ALARM_HOURS, + ALARM_DAYS +}; + typedef struct { - char *alarm_audio_file; - char *alarm_script; - char *alarm_email; - char *alarm_text; /* Text to be displayed */ + enum AlarmType type; + int enabled; + int count; + enum AlarmUnit units; + char *data; + + /* Widgets */ + void *w_count; /* A GtkEntry */ + void *w_enabled; /* A GtkChecButton */ + void *w_timesel; /* A GtkMenu */ + void *w_entry; /* A GnomeEntryFile/GtkEntry for PROGRAM/MAIL */ + void *w_label; } CalendarAlarm; /* Calendar object type */ @@ -65,7 +86,6 @@ typedef struct { time_t completed; time_t created; GList *contact; /* type: one or more TEXT */ - char *description; time_t dtstamp; time_t dtstart; time_t dtend; @@ -90,10 +110,10 @@ typedef struct { char *url; time_t recurid; - CalendarAlarm *dalarm; - CalendarAlarm *aalarm; - CalendarAlarm *palarm; - CalendarAlarm *malarm; + CalendarAlarm dalarm; + CalendarAlarm aalarm; + CalendarAlarm palarm; + CalendarAlarm malarm; } iCalObject; iCalObject *ical_new (char *comment, char *organizer, char *summary); |