diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-07-03 10:25:18 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-07-03 10:25:18 +0800 |
commit | ed11afdec64d889fbb515ef11897fec3862fe31b (patch) | |
tree | 0647ad2fffdfc6e803228bf194184a0a0ab8bc95 /calendar/cal-util/cal-component.h | |
parent | 6516e4bbf5dc4f758f82bf98469743456ba5b914 (diff) | |
download | gsoc2013-evolution-ed11afdec64d889fbb515ef11897fec3862fe31b.tar.gz gsoc2013-evolution-ed11afdec64d889fbb515ef11897fec3862fe31b.tar.zst gsoc2013-evolution-ed11afdec64d889fbb515ef11897fec3862fe31b.zip |
Support for ATTACH, DESCRIPTION properties in alarm components.
2001-07-02 Federico Mena Quintero <federico@ximian.com>
Support for ATTACH, DESCRIPTION properties in alarm components.
* cal-util/cal-component.c (scan_alarm_property): Deal with
ATTACH, DESCRIPTION properties.
(cal_component_alarm_get_attach): New function. Libical is
actually bogus; supposedly icalattachtype structures are
refcounted but the property functions return them by value.
(cal_copmonent_alarm_set_attach): New function.
(cal_component_alarm_get_description): New function.
(cal_component_alarm_set_description): New function.
svn path=/trunk/; revision=10714
Diffstat (limited to 'calendar/cal-util/cal-component.h')
-rw-r--r-- | calendar/cal-util/cal-component.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/calendar/cal-util/cal-component.h b/calendar/cal-util/cal-component.h index 54f9c03a33..4b3bdfaae4 100644 --- a/calendar/cal-util/cal-component.h +++ b/calendar/cal-util/cal-component.h @@ -426,20 +426,24 @@ void cal_component_alarms_free (CalComponentAlarms *alarms); /* CalComponentAlarms */ CalComponentAlarm *cal_component_alarm_new (void); CalComponentAlarm *cal_component_alarm_clone (CalComponentAlarm *alarm); +void cal_component_alarm_free (CalComponentAlarm *alarm); const char *cal_component_alarm_get_uid (CalComponentAlarm *alarm); void cal_component_alarm_get_action (CalComponentAlarm *alarm, CalAlarmAction *action); void cal_component_alarm_set_action (CalComponentAlarm *alarm, CalAlarmAction action); -void cal_component_alarm_get_trigger (CalComponentAlarm *alarm, CalAlarmTrigger *trigger); -void cal_component_alarm_set_trigger (CalComponentAlarm *alarm, CalAlarmTrigger trigger); +void cal_component_alarm_get_attach (CalComponentAlarm *alarm, struct icalattachtype **attach); +void cal_copmonent_alarm_set_attach (CalComponentAlarm *alarm, struct icalattachtype *attach); + +void cal_component_alarm_get_description (CalComponentAlarm *alarm, CalComponentText *description); +void cal_component_alarm_set_description (CalComponentAlarm *alarm, CalComponentText *description); void cal_component_alarm_get_repeat (CalComponentAlarm *alarm, CalAlarmRepeat *repeat); void cal_component_alarm_set_repeat (CalComponentAlarm *alarm, CalAlarmRepeat repeat); -void cal_component_alarm_free (CalComponentAlarm *alarm); - +void cal_component_alarm_get_trigger (CalComponentAlarm *alarm, CalAlarmTrigger *trigger); +void cal_component_alarm_set_trigger (CalComponentAlarm *alarm, CalAlarmTrigger trigger); |