"Fossies" - the Fresh Open Source Software Archive

Member "evolution-mapi-3.46.1/src/camel/camel-mapi-message-info.h" (2 Dec 2022, 2607 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-message-info.h" 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) 2016 Red Hat, Inc. (www.redhat.com)
    4  *
    5  * This library is free software: you can redistribute it and/or modify it
    6  * under the terms of the GNU Lesser General Public License as published by
    7  * the Free Software Foundation.
    8  *
    9  * This library is distributed in the hope that it will be useful, but
   10  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   11  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
   12  * for more details.
   13  *
   14  * You should have received a copy of the GNU Lesser General Public License
   15  * along with this library. If not, see <http://www.gnu.org/licenses/>.
   16  */
   17 
   18 #ifndef CAMEL_MAPI_MESSAGE_INFO_H
   19 #define CAMEL_MAPI_MESSAGE_INFO_H
   20 
   21 #include <glib-object.h>
   22 
   23 #include <camel/camel.h>
   24 
   25 /* Standard GObject macros */
   26 #define CAMEL_TYPE_MAPI_MESSAGE_INFO \
   27     (camel_mapi_message_info_get_type ())
   28 #define CAMEL_MAPI_MESSAGE_INFO(obj) \
   29     (G_TYPE_CHECK_INSTANCE_CAST \
   30     ((obj), CAMEL_TYPE_MAPI_MESSAGE_INFO, CamelMapiMessageInfo))
   31 #define CAMEL_MAPI_MESSAGE_INFO_CLASS(cls) \
   32     (G_TYPE_CHECK_CLASS_CAST \
   33     ((cls), CAMEL_TYPE_MAPI_MESSAGE_INFO, CamelMapiMessageInfoClass))
   34 #define CAMEL_IS_MAPI_MESSAGE_INFO(obj) \
   35     (G_TYPE_CHECK_INSTANCE_TYPE \
   36     ((obj), CAMEL_TYPE_MAPI_MESSAGE_INFO))
   37 #define CAMEL_IS_MAPI_MESSAGE_INFO_CLASS(cls) \
   38     (G_TYPE_CHECK_CLASS_TYPE \
   39     ((cls), CAMEL_TYPE_MAPI_MESSAGE_INFO))
   40 #define CAMEL_MAPI_MESSAGE_INFO_GET_CLASS(obj) \
   41     (G_TYPE_INSTANCE_GET_CLASS \
   42     ((obj), CAMEL_TYPE_MAPI_MESSAGE_INFO, CamelMapiMessageInfoClass))
   43 
   44 G_BEGIN_DECLS
   45 
   46 #define CAMEL_MAPI_MESSAGE_WITH_READ_RECEIPT (CAMEL_MESSAGE_FOLDER_FLAGGED << 1)
   47 
   48 typedef struct _CamelMapiMessageInfo CamelMapiMessageInfo;
   49 typedef struct _CamelMapiMessageInfoClass CamelMapiMessageInfoClass;
   50 typedef struct _CamelMapiMessageInfoPrivate CamelMapiMessageInfoPrivate;
   51 
   52 struct _CamelMapiMessageInfo {
   53     CamelMessageInfoBase parent;
   54     CamelMapiMessageInfoPrivate *priv;
   55 };
   56 
   57 struct _CamelMapiMessageInfoClass {
   58     CamelMessageInfoBaseClass parent_class;
   59 };
   60 
   61 GType       camel_mapi_message_info_get_type    (void);
   62 
   63 guint32     camel_mapi_message_info_get_server_flags
   64                             (const CamelMapiMessageInfo *mmi);
   65 gboolean    camel_mapi_message_info_set_server_flags
   66                             (CamelMapiMessageInfo *mmi,
   67                              guint32 server_flags);
   68 gint64      camel_mapi_message_info_get_last_modified
   69                             (const CamelMapiMessageInfo *mmi);
   70 gboolean    camel_mapi_message_info_set_last_modified
   71                             (CamelMapiMessageInfo *mmi,
   72                              gint64 last_modified);
   73 
   74 G_END_DECLS
   75 
   76 #endif /* CAMEL_MAPI_MESSAGE_INFO_H */