"Fossies" - the Fresh Open Source Software Archive

Member "evolution-mapi-3.46.1/src/camel/camel-mapi-transport.h" (2 Dec 2022, 2106 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 "camel-mapi-transport.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  * Authors:
   18  *     Johnny Jacob <jjohnny@novell.com>
   19  *
   20  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
   21  *
   22  */
   23 
   24 #ifndef CAMEL_MAPI_TRANSPORT_H
   25 #define CAMEL_MAPI_TRANSPORT_H
   26 
   27 #include <camel/camel.h>
   28 #include <libmapi/libmapi.h>
   29 #include <e-mapi-connection.h>
   30 
   31 /* Standard GObject macros */
   32 #define CAMEL_TYPE_MAPI_TRANSPORT \
   33     (camel_mapi_transport_get_type ())
   34 #define CAMEL_MAPI_TRANSPORT(obj) \
   35     (G_TYPE_CHECK_INSTANCE_CAST \
   36     ((obj), CAMEL_TYPE_MAPI_TRANSPORT, CamelMapiTransport))
   37 #define CAMEL_MAPI_TRANSPORT_CLASS(cls) \
   38     (G_TYPE_CHECK_CLASS_CAST \
   39     ((cls), CAMEL_TYPE_MAPI_TRANSPORT, CamelMapiTransportClass))
   40 #define CAMEL_IS_MAPI_TRANSPORT(obj) \
   41     (G_TYPE_CHECK_INSTANCE_TYPE \
   42     ((obj), CAMEL_TYPE_MAPI_TRANSPORT))
   43 #define CAMEL_IS_MAPI_TRANSPORT_CLASS(cls) \
   44     (G_TYPE_CHECK_CLASS_TYPE \
   45     ((cls), CAMEL_TYPE_MAPI_TRANSPORT))
   46 #define CAMEL_MAPI_TRANSPORT_GET_CLASS(obj) \
   47     (G_TYPE_INSTANCE_GET_CLASS \
   48     ((obj), CAMEL_TYPE_MAPI_TRANSPORT, CamelMapiTransportClass))
   49 
   50 G_BEGIN_DECLS
   51 
   52 typedef struct _CamelMapiTransport CamelMapiTransport;
   53 typedef struct _CamelMapiTransportClass CamelMapiTransportClass;
   54 
   55 struct _CamelMapiTransport {
   56     CamelTransport parent;
   57     gboolean connected;
   58 };
   59 
   60 struct _CamelMapiTransportClass {
   61     CamelTransportClass parent_class;
   62 };
   63 
   64 GType camel_mapi_transport_get_type (void);
   65 
   66 G_END_DECLS
   67 
   68 #endif /* CAMEL_MAPI_TRANSPORT_H */