summaryrefslogtreecommitdiff
path: root/libedataserver/e-source-address-book.c
blob: 9a2be6e81e70d52f7b53117f7885389f6c11443a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*
 * e-source-address-book.c
 *
 * This library is free software: you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation.
 *
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
 * for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library. If not, see <http://www.gnu.org/licenses/>.
 *
 */

/**
 * SECTION: e-source-address-book
 * @include: libedataserver/libedataserver.h
 * @short_description: #ESource extension for an address book
 *
 * The #ESourceAddressBook extension identifies the #ESource as an
 * address book.
 *
 * Access the extension as follows:
 *
 * |[
 *   #include <libedataserver/libedataserver.h>
 *
 *   ESourceAddressBook *extension;
 *
 *   extension = e_source_get_extension (source, E_SOURCE_EXTENSION_ADDRESS_BOOK);
 * ]|
 **/

#include "e-source-address-book.h"

#include <libedataserver/e-data-server-util.h>

G_DEFINE_TYPE (
	ESourceAddressBook,
	e_source_address_book,
	E_TYPE_SOURCE_BACKEND)

static void
e_source_address_book_class_init (ESourceAddressBookClass *class)
{
	ESourceExtensionClass *extension_class;

	extension_class = E_SOURCE_EXTENSION_CLASS (class);
	extension_class->name = E_SOURCE_EXTENSION_ADDRESS_BOOK;
}

static void
e_source_address_book_init (ESourceAddressBook *extension)
{
}