aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/cal-component.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-07-12 09:02:36 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-07-12 09:02:36 +0800
commit71cd8403b210d4eda9ba80f4a47a43b5def7f769 (patch)
tree8e9d52ea458ffd8a8bbaf3eb604d652a4522cce9 /calendar/cal-util/cal-component.h
parentbf4a9c758b795153b9560cf77730924b1c534e3b (diff)
downloadgsoc2013-evolution-71cd8403b210d4eda9ba80f4a47a43b5def7f769.tar
gsoc2013-evolution-71cd8403b210d4eda9ba80f4a47a43b5def7f769.tar.gz
gsoc2013-evolution-71cd8403b210d4eda9ba80f4a47a43b5def7f769.tar.bz2
gsoc2013-evolution-71cd8403b210d4eda9ba80f4a47a43b5def7f769.tar.lz
gsoc2013-evolution-71cd8403b210d4eda9ba80f4a47a43b5def7f769.tar.xz
gsoc2013-evolution-71cd8403b210d4eda9ba80f4a47a43b5def7f769.tar.zst
gsoc2013-evolution-71cd8403b210d4eda9ba80f4a47a43b5def7f769.zip
Handle the COMPLETED property. (free_icalcomponent): Ditto.
2000-07-11 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (scan_property): Handle the COMPLETED property. (free_icalcomponent): Ditto. (cal_component_get_completed): Ditto. (cal_component_set_completed): Ditto. (scan_property): Handle the TRANSPARENCY property. (free_icalcomponent): Ditto. (cal_component_get_transparency): Ditto. (cal_component_set_transparency): Ditto. (scan_property): Handle the URL property. (free_icalcomponent): Ditto. (cal_component_get_url): Ditto. (cal_component_set_url): Ditto. svn path=/trunk/; revision=4101
Diffstat (limited to 'calendar/cal-util/cal-component.h')
-rw-r--r--calendar/cal-util/cal-component.h29
1 files changed, 23 insertions, 6 deletions
diff --git a/calendar/cal-util/cal-component.h b/calendar/cal-util/cal-component.h
index d02b3efae7..d29fcc48c5 100644
--- a/calendar/cal-util/cal-component.h
+++ b/calendar/cal-util/cal-component.h
@@ -62,6 +62,14 @@ typedef enum {
} CalComponentClassification;
typedef struct {
+ /* Actual date/time value */
+ struct icaltimetype *value;
+
+ /* Timezone ID */
+ const char *tzid;
+} CalComponentDateTime;
+
+typedef struct {
/* Description string */
const char *value;
@@ -69,13 +77,13 @@ typedef struct {
const char *altrep;
} CalComponentText;
-typedef struct {
- /* Actual date/time value */
- struct icaltimetype *value;
+typedef enum {
+ CAL_COMPONENT_TRANSP_NONE,
+ CAL_COMPONENT_TRANSP_TRANSPARENT,
+ CAL_COMPONENT_TRANSP_OPAQUE,
+ CAL_COMPONENT_TRANSP_UNKNOWN
+} CalComponentTransparency;
- /* Timezone ID */
- const char *tzid;
-} CalComponentDateTime;
typedef struct _CalComponent CalComponent;
typedef struct _CalComponentClass CalComponentClass;
@@ -121,6 +129,9 @@ void cal_component_set_comment_list (CalComponent *comp, GSList *text_list);
void cal_component_free_icaltimetype (struct icaltimetype *t);
+void cal_component_get_completed (CalComponent *comp, struct icaltimetype **t);
+void cal_component_set_completed (CalComponent *comp, struct icaltimetype *t);
+
void cal_component_get_created (CalComponent *comp, struct icaltimetype **t);
void cal_component_set_created (CalComponent *comp, struct icaltimetype *t);
@@ -151,6 +162,12 @@ 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);
+void cal_component_get_transparency (CalComponent *comp, CalComponentTransparency *transp);
+void cal_component_set_transparency (CalComponent *comp, CalComponentTransparency transp);
+
+void cal_component_get_url (CalComponent *comp, const char **url);
+void cal_component_set_url (CalComponent *comp, const char *url);
+
END_GNOME_DECLS