aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-utils.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-25 03:24:15 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-25 03:24:15 +0800
commitd3a3c1c3f0616f9bf1559f88b073b70d8e5d0bfc (patch)
treea58155322fdb17a1d8b07b08c08fd62d4137b46e /mail/em-folder-utils.h
parentf575a7626a769b0a99e080944749958d644d4aef (diff)
downloadgsoc2013-evolution-d3a3c1c3f0616f9bf1559f88b073b70d8e5d0bfc.tar
gsoc2013-evolution-d3a3c1c3f0616f9bf1559f88b073b70d8e5d0bfc.tar.gz
gsoc2013-evolution-d3a3c1c3f0616f9bf1559f88b073b70d8e5d0bfc.tar.bz2
gsoc2013-evolution-d3a3c1c3f0616f9bf1559f88b073b70d8e5d0bfc.tar.lz
gsoc2013-evolution-d3a3c1c3f0616f9bf1559f88b073b70d8e5d0bfc.tar.xz
gsoc2013-evolution-d3a3c1c3f0616f9bf1559f88b073b70d8e5d0bfc.tar.zst
gsoc2013-evolution-d3a3c1c3f0616f9bf1559f88b073b70d8e5d0bfc.zip
Use named icons in the folder tree instead of pixbufs.
Diffstat (limited to 'mail/em-folder-utils.h')
-rw-r--r--mail/em-folder-utils.h37
1 files changed, 27 insertions, 10 deletions
diff --git a/mail/em-folder-utils.h b/mail/em-folder-utils.h
index 73b7bc96b2..4d03ce5762 100644
--- a/mail/em-folder-utils.h
+++ b/mail/em-folder-utils.h
@@ -21,20 +21,37 @@
*
*/
-#ifndef _EM_FOLDER_UTILS_H
-#define _EM_FOLDER_UTILS_H
+#ifndef EM_FOLDER_UTILS_H
+#define EM_FOLDER_UTILS_H
-struct _GtkWindow;
+#include <glib.h>
+#include <camel/camel-folder.h>
+#include <camel/camel-store.h>
+#include <mail/em-folder-tree.h>
-int em_folder_utils_copy_folders(CamelStore *fromstore, const char *frombase, CamelStore *tostore, const char *tobase, int delete);
+G_BEGIN_DECLS
-/* FIXME: These api's are really busted, there is no consistency and most rely on the wrong data */
+gint em_folder_utils_copy_folders (CamelStore *fromstore,
+ const gchar *frombase,
+ CamelStore *tostore,
+ const gchar *tobase,
+ int delete);
-void em_folder_utils_copy_folder (struct _CamelFolderInfo *folderinfo, int delete);
+/* FIXME These API's are really busted. There is no consistency and
+ * most rely on the wrong data. */
-void em_folder_utils_delete_folder (struct _CamelFolder *folder);
-void em_folder_utils_rename_folder (struct _CamelFolder *folder);
+void em_folder_utils_copy_folder (CamelFolderInfo *folderinfo,
+ int delete);
-void em_folder_utils_create_folder (struct _CamelFolderInfo *folderinfo, EMFolderTree * emft, struct _GtkWindow *parent);
+void em_folder_utils_delete_folder (CamelFolder *folder);
+void em_folder_utils_rename_folder (CamelFolder *folder);
-#endif
+void em_folder_utils_create_folder (CamelFolderInfo *folderinfo,
+ EMFolderTree * emft,
+ GtkWindow *parent);
+
+const gchar * em_folder_utils_get_icon_name (guint32 flags);
+
+G_END_DECLS
+
+#endif /* EM_FOLDER_UTILS_H */