Libical API Documentation
3.0
Loading...
Searching...
No Matches
src
libicalvcal
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. */
29
typedef
struct
_icalvcal_defaults
icalvcal_defaults
;
30
struct
_icalvcal_defaults
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 */
icalcomponent.h
VObject
Definition
vobject.c:69
_icalvcal_defaults
Definition
icalvcal.h:31
icalcomponent_impl
Definition
icalcomponent.c:36
Generated on Sun Mar 31 2024 06:42:58 for Libical API Documentation by
1.9.7