aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2003-11-08 00:40:02 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-11-08 00:40:02 +0800
commitc21b36a06dc2c13f6ec80785b61237742614f189 (patch)
tree82907c67ddcb81bcbc59a88e182dee7e5a26d917 /mail/em-folder-tree.h
parent71d8e4b5aecc4090f49bb0f89a91963503036718 (diff)
downloadgsoc2013-evolution-c21b36a06dc2c13f6ec80785b61237742614f189.tar
gsoc2013-evolution-c21b36a06dc2c13f6ec80785b61237742614f189.tar.gz
gsoc2013-evolution-c21b36a06dc2c13f6ec80785b61237742614f189.tar.bz2
gsoc2013-evolution-c21b36a06dc2c13f6ec80785b61237742614f189.tar.lz
gsoc2013-evolution-c21b36a06dc2c13f6ec80785b61237742614f189.tar.xz
gsoc2013-evolution-c21b36a06dc2c13f6ec80785b61237742614f189.tar.zst
gsoc2013-evolution-c21b36a06dc2c13f6ec80785b61237742614f189.zip
new sources files - work in progress to try and replace the e-storage-set* code
svn path=/trunk/; revision=23223
Diffstat (limited to 'mail/em-folder-tree.h')
-rw-r--r--mail/em-folder-tree.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/mail/em-folder-tree.h b/mail/em-folder-tree.h
new file mode 100644
index 0000000000..7a5ce72cc3
--- /dev/null
+++ b/mail/em-folder-tree.h
@@ -0,0 +1,68 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/*
+ * Authors: Jeffrey Stedfast <fejj@ximian.com>
+ *
+ * Copyright 2003 Ximian, Inc. (www.ximian.com)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
+ *
+ */
+
+
+#ifndef __EM_FOLDER_TREE_H__
+#define __EM_FOLDER_TREE_H__
+
+#include <gtk/gtkvbox.h>
+#include <camel/camel-store.h>
+
+#ifdef __cplusplus
+extern "C" {
+#pragma }
+#endif /* __cplusplus */
+
+#define EM_TYPE_FOLDER_TREE (em_folder_tree_get_type ())
+#define EM_FOLDER_TREE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EM_TYPE_FOLDER_TREE, EMFolderTree))
+#define EM_FOLDER_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EM_TYPE_FOLDER_TREE, EMFolderTreeClass))
+#define EM_IS_FOLDER_TREE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EM_TYPE_FOLDER_TREE))
+#define EM_IS_FOLDER_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EM_TYPE_FOLDER_TREE))
+#define EM_FOLDER_TREE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EM_TYPE_FOLDER_TREE, EMFolderTreeClass))
+
+typedef struct _EMFolderTree EMFolderTree;
+typedef struct _EMFolderTreeClass EMFolderTreeClass;
+
+struct _EMFolderTree {
+ GtkVBox parent_object;
+
+ struct _EMFolderTreePrivate *priv;
+};
+
+struct _EMFolderTreeClass {
+ GtkVBoxClass parent_class;
+
+};
+
+
+GType em_folder_tree_get_type (void);
+
+GtkWidget *em_folder_tree_new (void);
+
+void em_folder_tree_add_store (EMFolderTree *tree, CamelStore *store, const char *display_name);
+void em_folder_tree_remove_store (EMFolderTree *tree, CamelStore *store);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __EM_FOLDER_TREE_H__ */