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