Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / camel / providers / imapp / camel-imapp-folder.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /* camel-imap-folder.h : Class for a IMAP folder */
3
4 /* 
5  * Authors: Michael Zucchi <notzed@ximian.com>
6  *
7  * Copyright (C) 2002 Ximian, Inc. (www.ximian.com)
8  *
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.
12  *
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.
17  *
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
21  * USA
22  */
23
24 #ifndef CAMEL_IMAPP_FOLDER_H
25 #define CAMEL_IMAPP_FOLDER_H 1
26
27 #include <camel/camel-folder.h>
28
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))
33
34 G_BEGIN_DECLS
35
36 typedef struct _CamelIMAPPFolder {
37         CamelFolder parent_object;
38
39         char *raw_name;
40         CamelFolderChangeInfo *changes;
41
42         guint32 exists;
43         guint32 recent;
44         guint32 uidvalidity;
45         guint32 unseen;
46         guint32 permanentflags;
47 } CamelIMAPPFolder;
48
49 typedef struct _CamelIMAPPFolderClass {
50         CamelFolderClass parent_class;
51 } CamelIMAPPFolderClass;
52
53 /* Standard Camel function */
54 CamelType camel_imapp_folder_get_type (void);
55
56 /* public methods */
57 CamelFolder *camel_imapp_folder_new(CamelStore *parent, const char *path);
58
59 G_END_DECLS
60
61 #endif /* CAMEL_IMAPP_FOLDER_H */