aboutsummaryrefslogtreecommitdiffstats
path: root/libical/src/libicalvcal/icalvcal.h
diff options
context:
space:
mode:
authorDamon Chaplin <damon@ximian.com>2002-02-07 07:16:12 +0800
committerDamon Chaplin <damon@src.gnome.org>2002-02-07 07:16:12 +0800
commitd64e7cf12f73a73a0c5b99806fd695d428bea72f (patch)
treee2c8ce675a8ff8c7b8683996f12281ab973071c9 /libical/src/libicalvcal/icalvcal.h
parent411fd545df9ba41609b00e67e96369f493fe0610 (diff)
downloadgsoc2013-evolution-d64e7cf12f73a73a0c5b99806fd695d428bea72f.tar
gsoc2013-evolution-d64e7cf12f73a73a0c5b99806fd695d428bea72f.tar.gz
gsoc2013-evolution-d64e7cf12f73a73a0c5b99806fd695d428bea72f.tar.bz2
gsoc2013-evolution-d64e7cf12f73a73a0c5b99806fd695d428bea72f.tar.lz
gsoc2013-evolution-d64e7cf12f73a73a0c5b99806fd695d428bea72f.tar.xz
gsoc2013-evolution-d64e7cf12f73a73a0c5b99806fd695d428bea72f.tar.zst
gsoc2013-evolution-d64e7cf12f73a73a0c5b99806fd695d428bea72f.zip
major changes to support RRULE/EXRULE, VALARMS and several other
2002-02-06 Damon Chaplin <damon@ximian.com> * src/libicalvcal/icalvcal.c: major changes to support RRULE/EXRULE, VALARMS and several other properties. * src/libicalvcal/icalvcal.h (icalvcal_convert_with_defaults): new function to pass defaults for a few values into the importer. These are used when the vCalendar file doesn't provide the property but it is required in iCalendar. * src/libicalvcal/vcc.y: support multi-valued properties, by appending new ones and separating by ';'. This was pinched from our changes to evolution/libversit/vcc.y. * src/libicalvcal/Makefile.am: renamed library to libicalvcal-evolution Don't install the headers. * design-data/parameters.csv: added new error for error's parsing vCalendar properties. svn path=/trunk/; revision=15582
Diffstat (limited to 'libical/src/libicalvcal/icalvcal.h')
-rw-r--r--libical/src/libicalvcal/icalvcal.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/libical/src/libicalvcal/icalvcal.h b/libical/src/libicalvcal/icalvcal.h
index f2316c2d0f..96e94b9f2e 100644
--- a/libical/src/libicalvcal/icalvcal.h
+++ b/libical/src/libicalvcal/icalvcal.h
@@ -29,10 +29,25 @@
#include "ical.h"
#include "vcc.h"
+/* These are used as default values if the values are missing in the vCalendar
+ file. Gnome Calendar, for example, does not save the URL of the audio alarm,
+ so we have to add a value here to make a valid iCalendar object. */
+typedef struct _icalvcal_defaults icalvcal_defaults;
+struct _icalvcal_defaults {
+ char *alarm_audio_url;
+ char *alarm_audio_fmttype;
+ char *alarm_description;
+};
+
+
/* Convert a vObject into an icalcomponent */
icalcomponent* icalvcal_convert(VObject *object);
+icalcomponent* icalvcal_convert_with_defaults (VObject *object,
+ icalvcal_defaults *defaults);
+
+
#endif /* !ICALVCAL_H */