aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/cal-component.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-07-04 08:58:22 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-07-04 08:58:22 +0800
commit4ae033dd397990b79a6d1ff40554e286306e7e66 (patch)
treee5204f4b9dd951b9841b6656c393f0d01c0e0b0f /calendar/cal-util/cal-component.h
parent7ad9e599926815d42e88dc2a9a9037fc860d143c (diff)
downloadgsoc2013-evolution-4ae033dd397990b79a6d1ff40554e286306e7e66.tar
gsoc2013-evolution-4ae033dd397990b79a6d1ff40554e286306e7e66.tar.gz
gsoc2013-evolution-4ae033dd397990b79a6d1ff40554e286306e7e66.tar.bz2
gsoc2013-evolution-4ae033dd397990b79a6d1ff40554e286306e7e66.tar.lz
gsoc2013-evolution-4ae033dd397990b79a6d1ff40554e286306e7e66.tar.xz
gsoc2013-evolution-4ae033dd397990b79a6d1ff40554e286306e7e66.tar.zst
gsoc2013-evolution-4ae033dd397990b79a6d1ff40554e286306e7e66.zip
Use CalComponentText instead of CalComponentPropSummary. Removed the
2000-07-03 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (cal_component_get_summary): Use CalComponentText instead of CalComponentPropSummary. Removed the latter typedef. (cal_component_set_summary): Likewise. (scan_property): Handle the CLASSIFICATION property. (cal_component_get_classification): Ditto. (cal_component_set_classification): Ditto. svn path=/trunk/; revision=3880
Diffstat (limited to 'calendar/cal-util/cal-component.h')
-rw-r--r--calendar/cal-util/cal-component.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/calendar/cal-util/cal-component.h b/calendar/cal-util/cal-component.h
index d2d2c2c96f..dbb0096830 100644
--- a/calendar/cal-util/cal-component.h
+++ b/calendar/cal-util/cal-component.h
@@ -53,13 +53,13 @@ typedef enum {
/* Structures to return properties and their parameters */
-typedef struct {
- /* Summary string */
- const char *value;
-
- /* Alternate representation URI */
- const char *altrep;
-} CalComponentPropSummary;
+typedef enum {
+ CAL_COMPONENT_CLASS_NONE,
+ CAL_COMPONENT_CLASS_PUBLIC,
+ CAL_COMPONENT_CLASS_PRIVATE,
+ CAL_COMPONENT_CLASS_CONFIDENTIAL,
+ CAL_COMPONENT_CLASS_UNKNOWN
+} CalComponentClassification;
typedef struct {
/* Description string */
@@ -111,6 +111,9 @@ void cal_component_get_categories_list (CalComponent *comp, GSList **categ_list)
void cal_component_set_categories_list (CalComponent *comp, GSList *categ_list);
void cal_component_free_categories_list (GSList *categ_list);
+void cal_component_get_classification (CalComponent *comp, CalComponentClassification *classif);
+void cal_component_set_classification (CalComponent *comp, CalComponentClassification classif);
+
void cal_component_free_text_list (GSList *text_list);
void cal_component_get_comment_list (CalComponent *comp, GSList **text_list);
@@ -130,8 +133,8 @@ void cal_component_set_dtend (CalComponent *comp, CalComponentDateTime *dt);
void cal_component_get_due (CalComponent *comp, CalComponentDateTime *dt);
void cal_component_set_due (CalComponent *comp, CalComponentDateTime *dt);
-void cal_component_get_summary (CalComponent *comp, CalComponentPropSummary *summary);
-void cal_component_set_summary (CalComponent *comp, const CalComponentPropSummary *summary);
+void cal_component_get_summary (CalComponent *comp, CalComponentText *summary);
+void cal_component_set_summary (CalComponent *comp, CalComponentText *summary);