Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / camel / camel-vee-summary.h
1 /*
2  *  Copyright (C) 2000 Ximian Inc.
3  *
4  *  Authors:
5  *    Michael Zucchi <notzed@ximian.com>
6  *    Dan Winship <danw@ximian.com>
7  *
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.
11  *
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.
16  *
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.
21  */
22
23 #ifndef _CAMEL_VEE_SUMMARY_H
24 #define _CAMEL_VEE_SUMMARY_H
25
26 #include <camel/camel-folder-summary.h>
27 #include <camel/camel-exception.h>
28
29 #define CAMEL_VEE_SUMMARY(obj)         CAMEL_CHECK_CAST (obj, camel_vee_summary_get_type (), CamelVeeSummary)
30 #define CAMEL_VEE_SUMMARY_CLASS(klass) CAMEL_CHECK_CLASS_CAST (klass, camel_vee_summary_get_type (), CamelVeeSummaryClass)
31 #define CAMEL_IS_VEE_SUMMARY(obj)      CAMEL_CHECK_TYPE (obj, camel_vee_summary_get_type ())
32
33 G_BEGIN_DECLS
34
35 struct _CamelVeeFolder;
36 struct _CamelFolder;
37
38 typedef struct _CamelVeeSummary CamelVeeSummary;
39 typedef struct _CamelVeeSummaryClass CamelVeeSummaryClass;
40
41 typedef struct _CamelVeeMessageInfo CamelVeeMessageInfo;
42
43 struct _CamelVeeMessageInfo {
44         CamelMessageInfo info;
45
46         CamelMessageInfo *real;
47 };
48
49 struct _CamelVeeSummary {
50         CamelFolderSummary summary;
51 };
52
53 struct _CamelVeeSummaryClass {
54         CamelFolderSummaryClass parent_class;
55
56 };
57
58 CamelType               camel_vee_summary_get_type     (void);
59 CamelFolderSummary *camel_vee_summary_new(struct _CamelFolder *parent);
60
61 CamelVeeMessageInfo * camel_vee_summary_add(CamelVeeSummary *s, CamelMessageInfo *info, const char hash[8]);
62
63 G_END_DECLS
64
65 #endif /* ! _CAMEL_VEE_SUMMARY_H */
66