2 * Copyright (C) 2000 Ximian Inc.
4 * Authors: Not Zed <notzed@lostzed.mmc.com.au>
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of version 2 of the GNU Lesser General Public
8 * License as published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
21 #ifndef _CAMEL_MH_SUMMARY_H
22 #define _CAMEL_MH_SUMMARY_H
24 #include "camel-local-summary.h"
25 #include <camel/camel-folder.h>
26 #include <camel/camel-exception.h>
27 #include <camel/camel-index.h>
29 #define CAMEL_MH_SUMMARY(obj) CAMEL_CHECK_CAST (obj, camel_mh_summary_get_type (), CamelMhSummary)
30 #define CAMEL_MH_SUMMARY_CLASS(klass) CAMEL_CHECK_CLASS_CAST (klass, camel_mh_summary_get_type (), CamelMhSummaryClass)
31 #define CAMEL_IS_MH_SUMMARY(obj) CAMEL_CHECK_TYPE (obj, camel_mh_summary_get_type ())
35 typedef struct _CamelMhSummary CamelMhSummary;
36 typedef struct _CamelMhSummaryClass CamelMhSummaryClass;
38 struct _CamelMhSummary {
39 CamelLocalSummary parent;
40 struct _CamelMhSummaryPrivate *priv;
43 struct _CamelMhSummaryClass {
44 CamelLocalSummaryClass parent_class;
51 CamelType camel_mh_summary_get_type (void);
52 CamelMhSummary *camel_mh_summary_new(struct _CamelFolder *, const char *filename, const char *mhdir, CamelIndex *index);
56 #endif /* ! _CAMEL_MH_SUMMARY_H */