1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
3 * Author: Michael Zucchi <notzed@ximian.com>
5 * Copyright (C) 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
14 * GNU Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
22 #ifndef CAMEL_SPOOL_FOLDER_H
23 #define CAMEL_SPOOL_FOLDER_H 1
25 #include "camel-mbox-folder.h"
26 #include <camel/camel-folder-search.h>
27 #include <camel/camel-index.h>
28 #include "camel-spool-summary.h"
29 #include "camel-lock.h"
31 /* #include "camel-store.h" */
33 #define CAMEL_SPOOL_FOLDER_TYPE (camel_spool_folder_get_type ())
34 #define CAMEL_SPOOL_FOLDER(obj) (CAMEL_CHECK_CAST((obj), CAMEL_SPOOL_FOLDER_TYPE, CamelSpoolFolder))
35 #define CAMEL_SPOOL_FOLDER_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_SPOOL_FOLDER_TYPE, CamelSpoolFolderClass))
36 #define CAMEL_IS_SPOOL_FOLDER(o) (CAMEL_CHECK_TYPE((o), CAMEL_SPOOL_FOLDER_TYPE))
41 CamelMboxFolder parent;
43 struct _CamelSpoolFolderPrivate *priv;
45 int lockid; /* lock id for dot locking */
49 CamelMboxFolderClass parent_class;
50 } CamelSpoolFolderClass;
52 /* Standard Camel function */
53 CamelType camel_spool_folder_get_type(void);
55 CamelFolder *camel_spool_folder_new(CamelStore *parent_store, const char *full_name, guint32 flags, CamelException *ex);
59 #endif /* CAMEL_SPOOL_FOLDER_H */