Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / camel / camel-vtrash-folder.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  *  Authors: Jeffrey Stedfast <fejj@ximian.com>
4  *
5  *  Copyright 2001 Ximian, Inc. (www.ximian.com)
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of version 2 of the GNU Lesser General Public
9  * License as published by the Free Software Foundation.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this program; if not, write to the
18  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  * Boston, MA 02110-1301, USA.
20  *
21  */
22
23
24 #ifndef _CAMEL_VTRASH_FOLDER_H
25 #define _CAMEL_VTRASH_FOLDER_H
26
27 #include <camel/camel-folder.h>
28 #include <camel/camel-vee-folder.h>
29
30 #define CAMEL_VTRASH_FOLDER(obj)         CAMEL_CHECK_CAST (obj, camel_vtrash_folder_get_type (), CamelVTrashFolder)
31 #define CAMEL_VTRASH_FOLDER_CLASS(klass) CAMEL_CHECK_CLASS_CAST (klass, camel_vtrash_folder_get_type (), CamelVTrashFolderClass)
32 #define CAMEL_IS_VTRASH_FOLDER(obj)      CAMEL_CHECK_TYPE (obj, camel_vtrash_folder_get_type ())
33
34 G_BEGIN_DECLS
35
36 typedef struct _CamelVTrashFolder      CamelVTrashFolder;
37 typedef struct _CamelVTrashFolderClass CamelVTrashFolderClass;
38
39 #define CAMEL_VTRASH_NAME ".#evolution/Trash"
40 #define CAMEL_VJUNK_NAME ".#evolution/Junk"
41
42 typedef enum _camel_vtrash_folder_t {
43         CAMEL_VTRASH_FOLDER_TRASH,
44         CAMEL_VTRASH_FOLDER_JUNK,
45         CAMEL_VTRASH_FOLDER_LAST
46 } camel_vtrash_folder_t;
47
48 struct _CamelVTrashFolder {
49         CamelVeeFolder parent;
50
51         enum _camel_vtrash_folder_t type;
52         guint32 bit;
53 };
54
55 struct _CamelVTrashFolderClass {
56         CamelVeeFolderClass parent_class;
57         
58 };
59
60 CamelType       camel_vtrash_folder_get_type    (void);
61
62 CamelFolder    *camel_vtrash_folder_new         (CamelStore *parent_store, camel_vtrash_folder_t type);
63
64 G_END_DECLS
65
66 #endif /* ! _CAMEL_VTRASH_FOLDER_H */