a19f644bd872323d5c80c3cd739e795d5ab5494f
[platform/upstream/syncevolution.git] / src / backends / evolution / e-cal-check-timezones.h
1 /*
2  * Copyright (C) 2008 Novell, Inc.
3  *
4  * Authors: Patrick Ohly <patrick.ohly@gmx.de>
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of version 2 of the GNU Lesser General Public
8  * License as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18  */
19
20 #ifndef E_CAL_CHECK_TIMEZONES_H
21 #define E_CAL_CHECK_TIMEZONES_H
22
23 #include <libical/ical.h>
24 #include <glib.h>
25
26 G_BEGIN_DECLS
27
28 gboolean e_cal_check_timezones(icalcomponent *comp,
29                                GList *comps,
30                                icaltimezone *(*tzlookup)(const char *tzid,
31                                                          const void *custom,
32                                                          GError **error),
33                                const void *custom,
34                                GError **error);
35
36 icaltimezone *e_cal_tzlookup_ecal(const char *tzid,
37                                   const void *custom,
38                                   GError **error);
39
40 icaltimezone *e_cal_tzlookup_icomp(const char *tzid,
41                                    const void *custom,
42                                    GError **error);
43
44 const char *e_cal_match_tzid(const char *tzid);
45
46 G_END_DECLS
47
48 #endif /* E_CAL_CHECK_TIMEZONES_H */