diff options
author | Seth Alves <alves@src.gnome.org> | 2000-03-08 11:47:29 +0800 |
---|---|---|
committer | Seth Alves <alves@src.gnome.org> | 2000-03-08 11:47:29 +0800 |
commit | aa8ae8383f6f1e4a7e84bb6cc8a4c708e044130d (patch) | |
tree | 96e9df2780ced4795522156463313b9a6272879e /calendar/gui/alarm.h | |
parent | 4363d9ab22a31a7bf1bea6f3de05b413669ebc4b (diff) | |
download | gsoc2013-evolution-aa8ae8383f6f1e4a7e84bb6cc8a4c708e044130d.tar.gz gsoc2013-evolution-aa8ae8383f6f1e4a7e84bb6cc8a4c708e044130d.tar.zst gsoc2013-evolution-aa8ae8383f6f1e4a7e84bb6cc8a4c708e044130d.zip |
back out recent commit, and remove calendar.[ch] from Makefile.am
svn path=/trunk/; revision=2083
Diffstat (limited to 'calendar/gui/alarm.h')
-rw-r--r-- | calendar/gui/alarm.h | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/calendar/gui/alarm.h b/calendar/gui/alarm.h index 7e16952240..6bb5c1afa5 100644 --- a/calendar/gui/alarm.h +++ b/calendar/gui/alarm.h @@ -2,25 +2,12 @@ #define ALARM_H #include <time.h> -#include "cal-client/cal-client-alarm.h" +#include "pcs/calobj.h" -typedef struct { - /* 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; +typedef void (*AlarmFunction)(time_t time, CalendarAlarm *which, void *closuse); - AlarmHandle alarm_handle; /* something that hooks to the server */ -} CalendarAlarmUI; - -typedef void (*AlarmFunction) (time_t time, - CalendarAlarmUI *which, - void *closuse); - -void alarm_init (void); -gboolean alarm_add (CalendarAlarmUI *alarm, AlarmFunction fn, void *closure); -int alarm_kill (void *closure); +void alarm_init (void); +gboolean alarm_add (CalendarAlarm *alarm, AlarmFunction fn, void *closure); +int alarm_kill (void *closure); #endif |