"Fossies" - the Fresh Open Source Software Archive

Member "evolution-mapi-3.46.1/src/camel/camel-mapi-folder-summary.h" (2 Dec 2022, 2475 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-folder-summary.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_FOLDER_SUMMARY_H
   25 #define CAMEL_MAPI_FOLDER_SUMMARY_H
   26 
   27 #include <camel/camel.h>
   28 
   29 #include "camel-mapi-message-info.h"
   30 
   31 /* Standard GObject macros */
   32 #define CAMEL_TYPE_MAPI_FOLDER_SUMMARY \
   33     (camel_mapi_folder_summary_get_type ())
   34 #define CAMEL_MAPI_FOLDER_SUMMARY(obj) \
   35     (G_TYPE_CHECK_INSTANCE_CAST \
   36     ((obj), CAMEL_TYPE_MAPI_FOLDER_SUMMARY, CamelMapiFolderSummary))
   37 #define CAMEL_MAPI_FOLDER_SUMMARY_CLASS(cls) \
   38     (G_TYPE_CHECK_CLASS_CAST \
   39     ((cls), CAMEL_TYPE_MAPI_FOLDER_SUMMARY, CamelMapiFolderSummaryClass)
   40 #define CAMEL_IS_MAPI_FOLDER_SUMMARY(obj) \
   41     (G_TYPE_CHECK_INSTANCE_TYPE \
   42     ((obj), CAMEL_TYPE_MAPI_FOLDER_SUMMARY))
   43 #define CAMEL_IS_MAPI_FOLDER_SUMMARY_CLASS(cls) \
   44     (G_TYPE_CHECK_CLASS_TYPE \
   45     ((cls), CAMEL_TYPE_MAPI_FOLDER_SUMMARY))
   46 #define CAMEL_MAPI_FOLDER_SUMMARY_GET_CLASS(obj) \
   47     (G_TYPE_INSTANCE_GET_CLASS \
   48     ((obj), CAMEL_TYPE_MAPI_FOLDER_SUMMARY, CamelMapiFolderSummaryClass))
   49 
   50 G_BEGIN_DECLS
   51 
   52 typedef struct _CamelMapiFolderSummary CamelMapiFolderSummary;
   53 typedef struct _CamelMapiFolderSummaryClass CamelMapiFolderSummaryClass;
   54 
   55 struct _CamelMapiFolderSummary {
   56     CamelFolderSummary parent;
   57 
   58     guint32 version;
   59     guint32 validity;
   60 };
   61 
   62 struct _CamelMapiFolderSummaryClass {
   63     CamelFolderSummaryClass parent_class;
   64 };
   65 
   66 GType camel_mapi_folder_summary_get_type (void);
   67 
   68 CamelFolderSummary *camel_mapi_folder_summary_new (struct _CamelFolder *folder);
   69 
   70 void mapi_summary_clear (CamelFolderSummary *summary, gboolean uncache);
   71 void camel_mapi_folder_summary_update_store_info_counts (CamelMapiFolderSummary *mapi_summary);
   72 
   73 G_END_DECLS
   74 
   75 #endif /* CAMEL_MAPI_FOLDER_SUMMARY_H*/