Add new ESource classes.
[platform/upstream/evolution-data-server.git] / libedataserver / e-source-address-book.c
1 /*
2  * e-source-address-book.c
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) version 3.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with the program; if not, see <http://www.gnu.org/licenses/>
16  *
17  */
18
19 /**
20  * SECTION: e-source-address-book
21  * @include: libedataserver/e-source-address-book.h
22  * @short_description: #ESource extension for an address book
23  *
24  * The #ESourceAddressBook extension identifies the #ESource as an
25  * address book.
26  *
27  * Access the extension as follows:
28  *
29  * |[
30  *   #include <libedataserver/e-source-address-book.h>
31  *
32  *   ESourceAddressBook *extension;
33  *
34  *   extension = e_source_get_extension (source, E_SOURCE_EXTENSION_ADDRESS_BOOK);
35  * ]|
36  **/
37
38 #include "e-source-address-book.h"
39
40 #include <libedataserver/e-data-server-util.h>
41
42 G_DEFINE_TYPE (
43         ESourceAddressBook,
44         e_source_address_book,
45         E_TYPE_SOURCE_BACKEND)
46
47 static void
48 e_source_address_book_class_init (ESourceAddressBookClass *class)
49 {
50         ESourceExtensionClass *extension_class;
51
52         extension_class = E_SOURCE_EXTENSION_CLASS (class);
53         extension_class->name = E_SOURCE_EXTENSION_ADDRESS_BOOK;
54 }
55
56 static void
57 e_source_address_book_init (ESourceAddressBook *extension)
58 {
59 }