1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
3 /* e-book-backend-file.h - File contact backend.
5 * Copyright (C) 2005 Novell, Inc.
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.
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.
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., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
21 * Authors: Nat Friedman <nat@novell.com>
22 * Chris Toshok <toshok@ximian.com>
23 * Hans Petter Jansson <hpj@novell.com>
26 #ifndef __E_BOOK_BACKEND_FILE_H__
27 #define __E_BOOK_BACKEND_FILE_H__
29 #include <libedata-book/e-book-backend-sync.h>
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))
38 typedef struct _EBookBackendFilePrivate EBookBackendFilePrivate;
41 EBookBackendSync parent_object;
42 EBookBackendFilePrivate *priv;
46 EBookBackendSyncClass parent_class;
47 } EBookBackendFileClass;
49 EBookBackend *e_book_backend_file_new (void);
50 GType e_book_backend_file_get_type (void);
52 #endif /* ! __E_BOOK_BACKEND_FILE_H__ */