1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /* camel-imap-folder.h : Class for a IMAP folder */
5 * Authors: Michael Zucchi <notzed@ximian.com>
7 * Copyright (C) 2002 Ximian, Inc. (www.ximian.com)
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of version 2 of the GNU Lesser General Public
11 * License as published by the Free Software Foundation.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
24 #ifndef CAMEL_IMAPP_FOLDER_H
25 #define CAMEL_IMAPP_FOLDER_H 1
27 #include <camel/camel-folder.h>
29 #define CAMEL_IMAPP_FOLDER_TYPE (camel_imapp_folder_get_type ())
30 #define CAMEL_IMAPP_FOLDER(obj) (CAMEL_CHECK_CAST((obj), CAMEL_IMAPP_FOLDER_TYPE, CamelIMAPPFolder))
31 #define CAMEL_IMAPP_FOLDER_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_IMAPP_FOLDER_TYPE, CamelIMAPPFolderClass))
32 #define CAMEL_IS_IMAP_FOLDER(o) (CAMEL_CHECK_TYPE((o), CAMEL_IMAPP_FOLDER_TYPE))
36 typedef struct _CamelIMAPPFolder {
37 CamelFolder parent_object;
40 CamelFolderChangeInfo *changes;
46 guint32 permanentflags;
49 typedef struct _CamelIMAPPFolderClass {
50 CamelFolderClass parent_class;
51 } CamelIMAPPFolderClass;
53 /* Standard Camel function */
54 CamelType camel_imapp_folder_get_type (void);
57 CamelFolder *camel_imapp_folder_new(CamelStore *parent, const char *path);
61 #endif /* CAMEL_IMAPP_FOLDER_H */