2 * Copyright (C) 2000 Ximian Inc.
4 * Authors: Michael Zucchi <notzed@ximian.com>
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_NNTP_SUMMARY_H
22 #define _CAMEL_NNTP_SUMMARY_H
24 #include <camel/camel-folder-summary.h>
26 #define CAMEL_NNTP_SUMMARY(obj) CAMEL_CHECK_CAST (obj, camel_nntp_summary_get_type (), CamelNNTPSummary)
27 #define CAMEL_NNTP_SUMMARY_CLASS(klass) CAMEL_CHECK_CLASS_CAST (klass, camel_nntp_summary_get_type (), CamelNNTPSummaryClass)
28 #define CAMEL_IS_LOCAL_SUMMARY(obj) CAMEL_CHECK_TYPE (obj, camel_nntp_summary_get_type ())
32 struct _CamelNNTPStore;
33 struct _CamelFolderChangeInfo;
34 struct _CamelException;
36 typedef struct _CamelNNTPSummary CamelNNTPSummary;
37 typedef struct _CamelNNTPSummaryClass CamelNNTPSummaryClass;
39 struct _CamelNNTPSummary {
40 CamelFolderSummary parent;
42 struct _CamelNNTPSummaryPrivate *priv;
48 struct _CamelNNTPSummaryClass {
49 CamelFolderSummaryClass parent_class;
52 CamelType camel_nntp_summary_get_type (void);
53 CamelNNTPSummary *camel_nntp_summary_new(struct _CamelFolder *folder, const char *path);
55 int camel_nntp_summary_check(CamelNNTPSummary *cns, struct _CamelNNTPStore *store, char *line, struct _CamelFolderChangeInfo *changes, struct _CamelException *ex);
59 #endif /* ! _CAMEL_NNTP_SUMMARY_H */