1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Evolution calendar recurrence rule functions
5 * Copyright (C) 2000 Ximian, Inc.
7 * Author: Damon Chaplin <damon@ximian.com>
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of version 2 of the GNU Lesser General Public
11 * License as published by the Free Software Foundation.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27 #include <libecal/e-cal-component.h>
31 typedef gboolean (* ECalRecurInstanceFn) (ECalComponent *comp,
32 time_t instance_start,
36 typedef icaltimezone* (* ECalRecurResolveTimezoneFn) (const char *tzid,
39 void e_cal_recur_generate_instances (ECalComponent *comp,
42 ECalRecurInstanceFn cb,
44 ECalRecurResolveTimezoneFn tz_cb,
46 icaltimezone *default_timezone);
48 /* Localized nth-day-of-month strings. (Use with _() ) */
50 extern const char **e_cal_get_recur_nth (void);
51 #define e_cal_recur_nth (e_cal_get_recur_nth ())
53 extern const char *e_cal_recur_nth[31];