"Fossies" - the Fresh Open Source Software Archive

Member "evolution-mapi-3.46.1/src/addressbook/e-book-backend-mapi-gal.c" (2 Dec 2022, 1631 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-gal.c" see the Fossies "Dox" file reference documentation.

    1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
    2 /*
    3  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
    4  * Copyright (C) 2017 Red Hat, Inc. (www.redhat.com)
    5  *
    6  * This program is free software; you can redistribute it and/or
    7  * modify it under the terms of the GNU Lesser General Public
    8  * License as published by the Free Software Foundation; either
    9  * version 2 of the License, or (at your option) version 3.
   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  * Lesser General Public License for more details.
   15  *
   16  * You should have received a copy of the GNU Lesser General Public
   17  * License along with the program; if not, see <http://www.gnu.org/licenses/>
   18  *
   19  *
   20  * Authors:
   21  *    Bharath Acharya <abharath@novell.com>
   22  */
   23 
   24 #include "evolution-mapi-config.h"
   25 
   26 #include "e-book-backend-mapi-gal.h"
   27 
   28 struct _EBookBackendMAPIGALPrivate
   29 {
   30     gint32 unused;
   31 };
   32 
   33 G_DEFINE_TYPE_WITH_PRIVATE (EBookBackendMAPIGAL, e_book_backend_mapi_gal, E_TYPE_BOOK_BACKEND_MAPI)
   34 
   35 static void
   36 e_book_backend_mapi_gal_init (EBookBackendMAPIGAL *bbmgal)
   37 {
   38     bbmgal->priv = e_book_backend_mapi_gal_get_instance_private (bbmgal);
   39 
   40     e_book_backend_mapi_set_is_gal (E_BOOK_BACKEND_MAPI (bbmgal), TRUE);
   41 }
   42 
   43 static void
   44 e_book_backend_mapi_gal_class_init (EBookBackendMAPIGALClass *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 = "EBookBackendMapiGalFactory";
   50 }