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