Libical API Documentation
4.0
Loading...
Searching...
No Matches
src
libicalvcal
icalvcal.h
1
/*======================================================================
2
FILE: icalvcal.h
3
CREATOR: eric 25 May 00
4
5
SPDX-FileCopyrightText: 2000, Eric Busboom <eric@civicknowledge.com>
6
7
SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
8
9
======================================================================*/
10
11
#ifndef ICALVCAL_H
12
#define ICALVCAL_H
13
14
#include "libical_vcal_export.h"
15
#include "vobject.h"
16
#include "
icalcomponent.h
"
17
18
/* These are used as default values if the values are missing in the vCalendar
19
file. Gnome Calendar, for example, does not save the URL of the audio alarm,
20
so we have to add a value here to make a valid iCalendar object. */
21
typedef
struct
_icalvcal_defaults
icalvcal_defaults;
22
struct
_icalvcal_defaults
{
23
char
*alarm_audio_url;
24
char
*alarm_audio_fmttype;
25
char
*alarm_description;
26
};
27
28
/* Convert a vObject into an icalcomponent */
29
30
LIBICAL_VCAL_EXPORT icalcomponent *icalvcal_convert(
VObject
*
object
);
31
32
LIBICAL_VCAL_EXPORT icalcomponent *icalvcal_convert_with_defaults(
VObject
*
object
,
33
icalvcal_defaults *defaults);
34
35
#endif
/* !ICALVCAL_H */
icalcomponent.h
VObject
Definition
vobject.c:43
_icalvcal_defaults
Definition
icalvcal.h:22
Generated on Fri May 30 2025 11:51:05 for Libical API Documentation by
1.13.2