2
* Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
5
* Michael Zucchi <notzed@ximian.com>
6
* Dan Winship <danw@ximian.com>
8
* This program is free software; you can redistribute it and/or
9
* modify it under the terms of version 2 of the GNU Lesser General Public
10
* License as published by the Free Software Foundation.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* General Public License for more details.
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with this program; if not, write to the
19
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20
* Boston, MA 02110-1301, USA.
23
#ifndef _CAMEL_IMAPP_SUMMARY_H
24
#define _CAMEL_IMAPP_SUMMARY_H
26
#include <camel/camel-folder-summary.h>
27
#include <camel/camel-exception.h>
29
#define CAMEL_IMAPP_SUMMARY(obj) CAMEL_CHECK_CAST (obj, camel_imapp_summary_get_type (), CamelIMAPPSummary)
30
#define CAMEL_IMAPP_SUMMARY_CLASS(klass) CAMEL_CHECK_CLASS_CAST (klass, camel_imapp_summary_get_type (), CamelIMAPPSummaryClass)
31
#define CAMEL_IS_IMAPP_SUMMARY(obj) CAMEL_CHECK_TYPE (obj, camel_imapp_summary_get_type ())
33
#define CAMEL_IMAPP_SERVER_FLAGS (CAMEL_MESSAGE_ANSWERED | \
34
CAMEL_MESSAGE_DELETED | \
35
CAMEL_MESSAGE_DRAFT | \
36
CAMEL_MESSAGE_FLAGGED | \
39
#define CAMEL_IMAPP_MESSAGE_RECENT (1 << 8)
43
typedef struct _CamelIMAPPSummaryClass CamelIMAPPSummaryClass;
44
typedef struct _CamelIMAPPSummary CamelIMAPPSummary;
46
typedef struct _CamelIMAPPMessageInfo {
47
CamelMessageInfoBase info;
50
} CamelIMAPPMessageInfo;
52
struct _CamelIMAPPSummary {
53
CamelFolderSummary parent;
59
struct _CamelIMAPPSummaryClass {
60
CamelFolderSummaryClass parent_class;
64
CamelType camel_imapp_summary_get_type (void);
65
CamelFolderSummary *camel_imapp_summary_new (void);
69
#endif /* ! _CAMEL_IMAPP_SUMMARY_H */