Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / calendar / backends / file / e-cal-backend-file.h
1 /* Evolution calendar - iCalendar file backend
2  *
3  * Copyright (C) 2000 Ximian, Inc.
4  * Copyright (C) 2000 Ximian, Inc.
5  *
6  * Author: Federico Mena-Quintero <federico@ximian.com>
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of version 2 of the GNU Lesser General Public
10  * License as published by the Free Software Foundation.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20  */
21
22 #ifndef E_CAL_BACKEND_FILE_H
23 #define E_CAL_BACKEND_FILE_H
24
25 #include <libedata-cal/e-cal-backend-sync.h>
26
27 G_BEGIN_DECLS
28
29 \f
30
31 #define E_TYPE_CAL_BACKEND_FILE            (e_cal_backend_file_get_type ())
32 #define E_CAL_BACKEND_FILE(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_CAL_BACKEND_FILE,         \
33                                           ECalBackendFile))
34 #define E_CAL_BACKEND_FILE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_CAL_BACKEND_FILE,  \
35                                           ECalBackendFileClass))
36 #define E_IS_CAL_BACKEND_FILE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_CAL_BACKEND_FILE))
37 #define E_IS_CAL_BACKEND_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), E_TYPE_CAL_BACKEND_FILE))
38
39 typedef struct _ECalBackendFile ECalBackendFile;
40 typedef struct _ECalBackendFileClass ECalBackendFileClass;
41
42 typedef struct _ECalBackendFilePrivate ECalBackendFilePrivate;
43
44 struct _ECalBackendFile {
45         ECalBackendSync backend;
46
47         /* Private data */
48         ECalBackendFilePrivate *priv;
49 };
50
51 struct _ECalBackendFileClass {
52         ECalBackendSyncClass parent_class;
53 };
54
55 GType                  e_cal_backend_file_get_type      (void);
56
57 void                   e_cal_backend_file_set_file_name (ECalBackendFile *cbfile,
58                                                          const char     *file_name);
59 const char            *e_cal_backend_file_get_file_name (ECalBackendFile *cbfile);
60
61 ECalBackendSyncStatus  e_cal_backend_file_reload        (ECalBackendFile *cbfile);
62
63 \f
64
65 G_END_DECLS
66
67 #endif