"Fossies" - the Fresh Open Source Software Archive 
Member "evolution-mapi-3.46.1/src/addressbook/e-book-backend-mapi-contacts.c" (2 Dec 2022, 1654 Bytes) of package /linux/misc/evolution-mapi-3.46.1.tar.xz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "e-book-backend-mapi-contacts.c" see the
Fossies "Dox" file reference documentation.
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * This program is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2 of the License, or (at your option) version 3.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with the program; if not, see <http://www.gnu.org/licenses/>
15 *
16 *
17 * Authors:
18 * Srinivasa Ragavan <sragavan@novell.com>
19 *
20 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
21 *
22 */
23
24 #include "evolution-mapi-config.h"
25
26 #include "e-book-backend-mapi-contacts.h"
27
28 struct _EBookBackendMAPIContactsPrivate
29 {
30 gint32 unused;
31 };
32
33 G_DEFINE_TYPE_WITH_PRIVATE (EBookBackendMAPIContacts, e_book_backend_mapi_contacts, E_TYPE_BOOK_BACKEND_MAPI)
34
35 static void
36 e_book_backend_mapi_contacts_init (EBookBackendMAPIContacts *bbmcontacts)
37 {
38 bbmcontacts->priv = e_book_backend_mapi_contacts_get_instance_private (bbmcontacts);
39
40 e_book_backend_mapi_set_is_gal (E_BOOK_BACKEND_MAPI (bbmcontacts), FALSE);
41 }
42
43 static void
44 e_book_backend_mapi_contacts_class_init (EBookBackendMAPIContactsClass *klass)
45 {
46 EBookMetaBackendClass *meta_backend_class;
47
48 meta_backend_class = E_BOOK_META_BACKEND_CLASS (klass);
49 meta_backend_class->backend_factory_type_name = "EBookBackendMapiContactsFactory";
50 }