1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Authors: Jeffrey Stedfast <fejj@ximian.com>
5 * Copyright 2001 Ximian, Inc. (www.ximian.com)
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.
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.
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.
24 #ifndef _CAMEL_VTRASH_FOLDER_H
25 #define _CAMEL_VTRASH_FOLDER_H
27 #include <camel/camel-folder.h>
28 #include <camel/camel-vee-folder.h>
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 ())
36 typedef struct _CamelVTrashFolder CamelVTrashFolder;
37 typedef struct _CamelVTrashFolderClass CamelVTrashFolderClass;
39 #define CAMEL_VTRASH_NAME ".#evolution/Trash"
40 #define CAMEL_VJUNK_NAME ".#evolution/Junk"
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;
48 struct _CamelVTrashFolder {
49 CamelVeeFolder parent;
51 enum _camel_vtrash_folder_t type;
55 struct _CamelVTrashFolderClass {
56 CamelVeeFolderClass parent_class;
60 CamelType camel_vtrash_folder_get_type (void);
62 CamelFolder *camel_vtrash_folder_new (CamelStore *parent_store, camel_vtrash_folder_t type);
66 #endif /* ! _CAMEL_VTRASH_FOLDER_H */