aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-vfolder.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-07-31 23:07:49 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-07-31 23:07:49 +0800
commit72092414aa9b150b03b69b26e216d2d057110f92 (patch)
tree7689661ce4288047e4bac43dc84d610a044eeacd /mail/mail-vfolder.h
parent9ddabfee03542411d02851a1b1f144707ce32b82 (diff)
downloadgsoc2013-evolution-72092414aa9b150b03b69b26e216d2d057110f92.tar.gz
gsoc2013-evolution-72092414aa9b150b03b69b26e216d2d057110f92.tar.zst
gsoc2013-evolution-72092414aa9b150b03b69b26e216d2d057110f92.zip
Configurable vfolder sources, and a button to save a search
as a new vfolder. 2000-07-31 Not Zed <NotZed@HelixCode.com> * mail-vfolder.h: Header for vfolder functions. * folder-browser.c (mail_uri_to_folder): Use new scheme to open vfolders. (search_save): New button/function to save a search as a vfolder. * mail-vfolder.c (vfolder_edit): Made asynchronous. (vfolder_uri_to_folder): New function for loading vfolders and setting up their source folders. (vfolder_refresh): Change shell vfolder uri's to indirect references rather than the real vfolder uri. (vfolder_gui_add_rule): Add a rule with user confirmation. (vfolder_create_part): Get a new part by name, for creating rules in code. * message-thread.c (thread_messages): Check for uid lookup failure, which indicates an error in the folder or calling code. svn path=/trunk/; revision=4422
Diffstat (limited to 'mail/mail-vfolder.h')
-rw-r--r--mail/mail-vfolder.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/mail/mail-vfolder.h b/mail/mail-vfolder.h
new file mode 100644
index 0000000000..10f20777d2
--- /dev/null
+++ b/mail/mail-vfolder.h
@@ -0,0 +1,22 @@
+
+#ifndef _MAIL_VFOLDER_H
+#define _MAIL_VFOLDER_H
+
+#include <bonobo.h>
+
+#include "Evolution.h"
+#include "evolution-storage.h"
+#include "evolution-shell-component.h"
+
+#include "camel/camel-folder.h"
+#include "filter/vfolder-rule.h"
+#include "filter/filter-part.h"
+
+void vfolder_create_storage(EvolutionShellComponent *shell_component);
+
+CamelFolder *vfolder_uri_to_folder(const char *uri);
+void vfolder_edit(void);
+FilterPart *vfolder_create_part(const char *name);
+void vfolder_gui_add_rule(VfolderRule *rule);
+
+#endif