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/cal-client/cal-client-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/cal-client/cal-client-alarm.h')
-rw-r--r-- | calendar/cal-client/cal-client-alarm.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/calendar/cal-client/cal-client-alarm.h b/calendar/cal-client/cal-client-alarm.h new file mode 100644 index 0000000000..83e50c6775 --- /dev/null +++ b/calendar/cal-client/cal-client-alarm.h @@ -0,0 +1,23 @@ +#ifndef CAL_CLIENT_ALARM_H_INCLUDED +#define CAL_CLIENT_ALARM_H_INCLUDED + +#include <sys/time.h> +#include "cal-util/alarm-enums.h" + +typedef int AlarmHandle; + +/* these need to be replaced with something that does corba stuff */ + +time_t cal_client_alarm_get_trigger (AlarmHandle alarm); +enum AlarmType cal_client_alarm_get_type (AlarmHandle alarm); +void cal_client_alarm_set_type (AlarmHandle alarm, enum AlarmType type); +enum AlarmUnit cal_client_alarm_get_units (AlarmHandle alarm); +void cal_client_alarm_set_units (AlarmHandle alarm, enum AlarmUnit units); +int cal_client_alarm_get_count (AlarmHandle alarm); +void cal_client_alarm_set_count (AlarmHandle alarm, int count); +int cal_client_alarm_get_enabled (AlarmHandle alarm); +void cal_client_alarm_set_enabled (AlarmHandle alarm, int enabled); +char *cal_client_alarm_get_data (AlarmHandle alarm); +void cal_client_alarm_set_data (AlarmHandle alarm, char *data); + +#endif /* CAL_CLIENT_ALARM_H_INCLUDED */ |