Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / addressbook / backends / vcf / e-book-backend-vcf-factory.c
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
3 /* e-book-backend-vcf-factory.c - VCF contact backend factory.
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: Chris Toshok <toshok@ximian.com>
22  */
23
24 #ifdef HAVE_CONFIG_H
25 #include <config.h>
26 #endif
27
28 #include "libedataserver/e-data-server-module.h"
29 #include "libedata-book/e-book-backend-factory.h"
30 #include "e-book-backend-vcf.h"
31
32 E_BOOK_BACKEND_FACTORY_SIMPLE (vcf, VCF, e_book_backend_vcf_new)
33
34 static GType  vcf_type;
35
36 void
37 eds_module_initialize (GTypeModule *module)
38 {
39         vcf_type = _vcf_factory_get_type (module);
40 }
41
42 void
43 eds_module_shutdown   (void)
44 {
45 }
46
47 void
48 eds_module_list_types (const GType **types, int *num_types)
49 {
50         *types = & vcf_type;
51         *num_types = 1;
52 }
53