aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/cal-component.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-07-08 02:42:38 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-07-08 02:42:38 +0800
commit665da2c706a462d92c70fad3e41974fe5f4d8c30 (patch)
tree138d5ad93c3eed40892e4ac8e65f095d545381d1 /calendar/cal-util/cal-component.h
parent053cdfdbc36a8100ac5e7dfe33e05f82a7e50ea2 (diff)
downloadgsoc2013-evolution-665da2c706a462d92c70fad3e41974fe5f4d8c30.tar
gsoc2013-evolution-665da2c706a462d92c70fad3e41974fe5f4d8c30.tar.gz
gsoc2013-evolution-665da2c706a462d92c70fad3e41974fe5f4d8c30.tar.bz2
gsoc2013-evolution-665da2c706a462d92c70fad3e41974fe5f4d8c30.tar.lz
gsoc2013-evolution-665da2c706a462d92c70fad3e41974fe5f4d8c30.tar.xz
gsoc2013-evolution-665da2c706a462d92c70fad3e41974fe5f4d8c30.tar.zst
gsoc2013-evolution-665da2c706a462d92c70fad3e41974fe5f4d8c30.zip
Handle the SEQUENCE property. (free_icalcomponent): Ditto.
2000-07-07 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (scan_property): Handle the SEQUENCE property. (free_icalcomponent): Ditto. (cal_component_get_sequence): Ditto. (cal_component_set_sequence): Ditto. (cal_component_free_sequence): Ditto. (cal_component_set_last_modified): Removed incorrect assertion. (CalComponentPrivate): New need_sequence_inc flag. The sequence number must be incremented when certain properties change, so we store a flag that says if we need to bump it when piping the object over the wire. (free_icalcomponent): Reset need_sequence_inc. (cal_component_set_dtstart): Set need_sequence_inc. (cal_component_set_dtend): Ditto. (cal_component_set_due): Ditto. svn path=/trunk/; revision=3957
Diffstat (limited to 'calendar/cal-util/cal-component.h')
-rw-r--r--calendar/cal-util/cal-component.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/cal-util/cal-component.h b/calendar/cal-util/cal-component.h
index b9cc9da942..d02b3efae7 100644
--- a/calendar/cal-util/cal-component.h
+++ b/calendar/cal-util/cal-component.h
@@ -144,6 +144,10 @@ void cal_component_set_due (CalComponent *comp, CalComponentDateTime *dt);
void cal_component_get_last_modified (CalComponent *comp, struct icaltimetype **t);
void cal_component_set_last_modified (CalComponent *comp, struct icaltimetype *t);
+void cal_component_get_sequence (CalComponent *comp, int **sequence);
+void cal_component_set_sequence (CalComponent *comp, int *sequence);
+void cal_component_free_sequence (int *sequence);
+
void cal_component_get_summary (CalComponent *comp, CalComponentText *summary);
void cal_component_set_summary (CalComponent *comp, CalComponentText *summary);