2 /*======================================================================
4 CREATOR: eric 25 May 00
8 (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of either:
13 The LGPL as published by the Free Software Foundation, version
14 2.1, available at: http://www.fsf.org/copyleft/lesser.html
18 The Mozilla Public License Version 1.0. You may obtain a copy of
19 the License at http://www.mozilla.org/MPL/
21 The original code is icalvcal.h
24 ======================================================================*/
29 #include <libical/ical.h>
32 /* These are used as default values if the values are missing in the vCalendar
33 file. Gnome Calendar, for example, does not save the URL of the audio alarm,
34 so we have to add a value here to make a valid iCalendar object. */
35 typedef struct _icalvcal_defaults icalvcal_defaults;
36 struct _icalvcal_defaults {
37 char *alarm_audio_url;
38 char *alarm_audio_fmttype;
39 char *alarm_description;
43 /* Convert a vObject into an icalcomponent */
45 icalcomponent* icalvcal_convert(VObject *object);
48 icalcomponent* icalvcal_convert_with_defaults (VObject *object,
49 icalvcal_defaults *defaults);
51 #endif /* !ICALVCAL_H */