"Fossies" - the Fresh Open Source Software Archive

Member "evolution-mapi-3.46.1/src/addressbook/e-book-backend-mapi.h" (2 Dec 2022, 2234 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.h" 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  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
   18  *
   19  */
   20 
   21 #ifndef E_BOOK_BACKEND_MAPI_H
   22 #define E_BOOK_BACKEND_MAPI_H
   23 
   24 #include <glib.h>
   25 #include <gio/gio.h>
   26 
   27 #include <libedata-book/libedata-book.h>
   28 
   29 #include "e-mapi-connection.h"
   30 #include "e-mapi-defs.h"
   31 #include "e-mapi-utils.h"
   32 #include "e-mapi-book-utils.h"
   33 
   34 G_BEGIN_DECLS
   35 
   36 #define E_TYPE_BOOK_BACKEND_MAPI           (e_book_backend_mapi_get_type ())
   37 #define E_BOOK_BACKEND_MAPI(o)             (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TYPE_BOOK_BACKEND_MAPI, EBookBackendMAPI))
   38 #define E_BOOK_BACKEND_MAPI_CLASS(k)       (G_TYPE_CHECK_CLASS_CAST((k), E_TYPE_BOOK_BACKEND_MAPI, EBookBackendMAPIClass))
   39 #define E_IS_BOOK_BACKEND_MAPI(o)          (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_TYPE_BOOK_BACKEND_MAPI))
   40 #define E_IS_BOOK_BACKEND_MAPI_CLASS(k)    (G_TYPE_CHECK_CLASS_TYPE ((k), E_TYPE_BOOK_BACKEND_MAPI))
   41 #define E_BOOK_BACKEND_MAPI_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), E_TYPE_BOOK_BACKEND_MAPI, EBookBackendMAPIClass))
   42 
   43 typedef struct _EBookBackendMAPIPrivate EBookBackendMAPIPrivate;
   44 
   45 typedef struct
   46 {
   47     EBookMetaBackend parent_object;
   48     EBookBackendMAPIPrivate *priv;
   49 } EBookBackendMAPI;
   50 
   51 typedef struct
   52 {
   53     EBookMetaBackendClass parent_class;
   54 } EBookBackendMAPIClass;
   55 
   56 GType       e_book_backend_mapi_get_type    (void);
   57 
   58 void        e_book_backend_mapi_set_is_gal  (EBookBackendMAPI *bbmapi,
   59                          gboolean is_gal);
   60 gboolean    e_book_backend_mapi_get_is_gal  (EBookBackendMAPI *bbmapi);
   61 
   62 G_END_DECLS
   63 
   64 #endif /* E_BOOK_BACKEND_MAPI_H */