Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / addressbook / backends / file / e-book-backend-file.h
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2
3 /* e-book-backend-file.h - File contact backend.
4  *
5  * Copyright (C) 2005 Novell, Inc.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of version 2 of the GNU Lesser General Public
9  * License as published by the Free Software Foundation.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this program; if not, write to the
18  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  * Boston, MA 02110-1301, USA.
20  *
21  * Authors: Nat Friedman <nat@novell.com>
22  *          Chris Toshok <toshok@ximian.com>
23  *          Hans Petter Jansson <hpj@novell.com>
24  */
25
26 #ifndef __E_BOOK_BACKEND_FILE_H__
27 #define __E_BOOK_BACKEND_FILE_H__
28
29 #include <libedata-book/e-book-backend-sync.h>
30
31 #define E_TYPE_BOOK_BACKEND_FILE        (e_book_backend_file_get_type ())
32 #define E_BOOK_BACKEND_FILE(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TYPE_BOOK_BACKEND_FILE, EBookBackendFile))
33 #define E_BOOK_BACKEND_FILE_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST((k), E_TYPE_BOOK_BACKEND_FILE, EBookBackendFileClass))
34 #define E_IS_BOOK_BACKEND_FILE(o)       (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_TYPE_BOOK_BACKEND_FILE))
35 #define E_IS_BOOK_BACKEND_FILE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), E_TYPE_BOOK_BACKEND_FILE))
36 #define E_BOOK_BACKEND_FILE_GET_CLASS(k) (G_TYPE_INSTANCE_GET_CLASS ((obj), E_TYPE_BOOK_BACKEND_FILE, EBookBackendFileClass))
37
38 typedef struct _EBookBackendFilePrivate EBookBackendFilePrivate;
39
40 typedef struct {
41         EBookBackendSync         parent_object;
42         EBookBackendFilePrivate *priv;
43 } EBookBackendFile;
44
45 typedef struct {
46         EBookBackendSyncClass parent_class;
47 } EBookBackendFileClass;
48
49 EBookBackend *e_book_backend_file_new      (void);
50 GType       e_book_backend_file_get_type (void);
51
52 #endif /* ! __E_BOOK_BACKEND_FILE_H__ */
53