Libical API Documentation  3.0
icalvcal.h
1 /*======================================================================
2  FILE: icalvcal.h
3  CREATOR: eric 25 May 00
4 
5  (C) COPYRIGHT 2000, Eric Busboom <eric@civicknowledge.com>
6 
7  This library is free software; you can redistribute it and/or modify
8  it under the terms of either:
9 
10  The LGPL as published by the Free Software Foundation, version
11  2.1, available at: https://www.gnu.org/licenses/lgpl-2.1.html
12 
13  Or:
14 
15  The Mozilla Public License Version 2.0. You may obtain a copy of
16  the License at https://www.mozilla.org/MPL/
17 ======================================================================*/
18 
19 #ifndef ICALVCAL_H
20 #define ICALVCAL_H
21 
22 #include "libical_vcal_export.h"
23 #include "vobject.h"
24 #include "icalcomponent.h"
25 
26 /* These are used as default values if the values are missing in the vCalendar
27  file. Gnome Calendar, for example, does not save the URL of the audio alarm,
28  so we have to add a value here to make a valid iCalendar object. */
31 {
32  char *alarm_audio_url;
33  char *alarm_audio_fmttype;
34  char *alarm_description;
35 };
36 
37 /* Convert a vObject into an icalcomponent */
38 
39 LIBICAL_VCAL_EXPORT icalcomponent *icalvcal_convert(VObject *object);
40 
41 LIBICAL_VCAL_EXPORT icalcomponent *icalvcal_convert_with_defaults(VObject *object,
42  icalvcal_defaults * defaults);
43 
44 #endif /* !ICALVCAL_H */
Definition: icalcomponent.c:35
Definition: icalvcal.h:30
Definition: vobject.c:69