diff options
author | Seth Alves <alves@src.gnome.org> | 2000-03-06 08:10:24 +0800 |
---|---|---|
committer | Seth Alves <alves@src.gnome.org> | 2000-03-06 08:10:24 +0800 |
commit | 34eff34dd935025d733904b03b20c764637d688a (patch) | |
tree | e9fd8dde3aac89e40d54cc030c1d0ddd823b2d52 /calendar/gui/alarm-notify/alarm.h | |
parent | 70108e31eafba17f63a04375d7e4c51c7d1c35eb (diff) | |
download | gsoc2013-evolution-34eff34dd935025d733904b03b20c764637d688a.tar gsoc2013-evolution-34eff34dd935025d733904b03b20c764637d688a.tar.gz gsoc2013-evolution-34eff34dd935025d733904b03b20c764637d688a.tar.bz2 gsoc2013-evolution-34eff34dd935025d733904b03b20c764637d688a.tar.lz gsoc2013-evolution-34eff34dd935025d733904b03b20c764637d688a.tar.xz gsoc2013-evolution-34eff34dd935025d733904b03b20c764637d688a.tar.zst gsoc2013-evolution-34eff34dd935025d733904b03b20c764637d688a.zip |
stubs for client side access to alarm structures. this will probably
* cal-client/cal-client-alarm.c: stubs for client side
access to alarm structures. this will probably change,
since i don't know what i'm doing.
* cal-util/alarm-enums.h: enums for alarms needed by
both the client and the server
* remaining source files in calendar/... have been moved
to calendar/gui.
* gui/alarm.c: start to decouple the view from the model
in the alarm editing code
svn path=/trunk/; revision=2062
Diffstat (limited to 'calendar/gui/alarm-notify/alarm.h')
-rw-r--r-- | calendar/gui/alarm-notify/alarm.h | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/calendar/gui/alarm-notify/alarm.h b/calendar/gui/alarm-notify/alarm.h index 6bb5c1afa5..7e16952240 100644 --- a/calendar/gui/alarm-notify/alarm.h +++ b/calendar/gui/alarm-notify/alarm.h @@ -2,12 +2,25 @@ #define ALARM_H #include <time.h> -#include "pcs/calobj.h" +#include "cal-client/cal-client-alarm.h" -typedef void (*AlarmFunction)(time_t time, CalendarAlarm *which, void *closuse); +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; -void alarm_init (void); -gboolean alarm_add (CalendarAlarm *alarm, AlarmFunction fn, void *closure); -int alarm_kill (void *closure); + 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); #endif |