aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/cal-component.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-07-07 10:07:43 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-07-07 10:07:43 +0800
commit1c3ee9654bec525a0f650f20dfea92c3f79b6e4a (patch)
treec2ceec221105b9817f80125a275efeecc852d950 /calendar/cal-util/cal-component.h
parent33df4eafbd2b98e6cfa2f1cf9126097b4b36bb55 (diff)
downloadgsoc2013-evolution-1c3ee9654bec525a0f650f20dfea92c3f79b6e4a.tar
gsoc2013-evolution-1c3ee9654bec525a0f650f20dfea92c3f79b6e4a.tar.gz
gsoc2013-evolution-1c3ee9654bec525a0f650f20dfea92c3f79b6e4a.tar.bz2
gsoc2013-evolution-1c3ee9654bec525a0f650f20dfea92c3f79b6e4a.tar.lz
gsoc2013-evolution-1c3ee9654bec525a0f650f20dfea92c3f79b6e4a.tar.xz
gsoc2013-evolution-1c3ee9654bec525a0f650f20dfea92c3f79b6e4a.tar.zst
gsoc2013-evolution-1c3ee9654bec525a0f650f20dfea92c3f79b6e4a.zip
Handle the CREATED property. (free_icalcomponent): Ditto.
2000-07-06 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (scan_property): Handle the CREATED property. (free_icalcomponent): Ditto. (cal_component_free_icaltimetype): Ditto. (cal_component_get_created): Ditto. (cal_component_set_created): Ditto. (cal_component_init): Do not create an UID here. (ensure_mandatory_properties): New function to ensure that the mandatory RFC properties are indeed in the component. If they are not, we create them on the fly. (cal_component_set_new_vtype): Use ensure_mandatory_properties(). (cal_component_set_icalcomponent): Ditto. (cal_component_get_uid): Return the UID in a parameter, not as a function return value, for consistency's sake. (scan_property): Handle the DTSTAMP property. (free_icalcomponent): Ditto. (cal_component_get_dtstamp): Ditto. (cal_component_set_dtstamp): Ditto. svn path=/trunk/; revision=3934
Diffstat (limited to 'calendar/cal-util/cal-component.h')
-rw-r--r--calendar/cal-util/cal-component.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/calendar/cal-util/cal-component.h b/calendar/cal-util/cal-component.h
index dbb0096830..5a66b42619 100644
--- a/calendar/cal-util/cal-component.h
+++ b/calendar/cal-util/cal-component.h
@@ -104,7 +104,7 @@ icalcomponent *cal_component_get_icalcomponent (CalComponent *comp);
CalComponentVType cal_component_get_vtype (CalComponent *comp);
-const char *cal_component_get_uid (CalComponent *comp);
+void cal_component_get_uid (CalComponent *comp, const char **uid);
void cal_component_set_uid (CalComponent *comp, const char *uid);
void cal_component_get_categories_list (CalComponent *comp, GSList **categ_list);
@@ -119,17 +119,25 @@ void cal_component_free_text_list (GSList *text_list);
void cal_component_get_comment_list (CalComponent *comp, GSList **text_list);
void cal_component_set_comment_list (CalComponent *comp, GSList *text_list);
+void cal_component_free_icaltimetype (struct icaltimetype *t);
+
+void cal_component_get_created (CalComponent *comp, struct icaltimetype **t);
+void cal_component_set_created (CalComponent *comp, struct icaltimetype *t);
+
void cal_component_get_description_list (CalComponent *comp, GSList **text_list);
void cal_component_set_description_list (CalComponent *comp, GSList *text_list);
void cal_component_free_datetime (CalComponentDateTime *dt);
-void cal_component_get_dtstart (CalComponent *comp, CalComponentDateTime *dt);
-void cal_component_set_dtstart (CalComponent *comp, CalComponentDateTime *dt);
-
void cal_component_get_dtend (CalComponent *comp, CalComponentDateTime *dt);
void cal_component_set_dtend (CalComponent *comp, CalComponentDateTime *dt);
+void cal_component_get_dtstamp (CalComponent *comp, struct icaltimetype *t);
+void cal_component_set_dtstamp (CalComponent *comp, struct icaltimetype *t);
+
+void cal_component_get_dtstart (CalComponent *comp, CalComponentDateTime *dt);
+void cal_component_set_dtstart (CalComponent *comp, CalComponentDateTime *dt);
+
void cal_component_get_due (CalComponent *comp, CalComponentDateTime *dt);
void cal_component_set_due (CalComponent *comp, CalComponentDateTime *dt);