aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-vfolder.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-12-16 23:40:37 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-12-16 23:58:54 +0800
commita9cfed5938aef37d95c009411f965ebc185547c1 (patch)
treed0c6eb1d5acea6752425169aae47e8f4ed4b55ea /mail/mail-vfolder.h
parentdf85cb1b7a47f713cb775f648f735e642a1bb71b (diff)
downloadgsoc2013-evolution-a9cfed5938aef37d95c009411f965ebc185547c1.tar.gz
gsoc2013-evolution-a9cfed5938aef37d95c009411f965ebc185547c1.tar.zst
gsoc2013-evolution-a9cfed5938aef37d95c009411f965ebc185547c1.zip
Avoid passing EMailBackend as much as possible.
More mail API churn... reversing some previous API decisions. I've made some key API changes to EMailSession on the account-mgmt branch which should allow for this, and will hopefully also benefit the "email-factory" branch. EMailBackend barely needs to exist anymore, except as the owner of EMailSession. For several low-level functions, we replace its EMailBackend parameter with EMailSession and EAlertSink parameters; the latter so it can still pass user alerts up the chain.
Diffstat (limited to 'mail/mail-vfolder.h')
-rw-r--r--mail/mail-vfolder.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/mail-vfolder.h b/mail/mail-vfolder.h
index c180106562..efebc17762 100644
--- a/mail/mail-vfolder.h
+++ b/mail/mail-vfolder.h
@@ -31,10 +31,12 @@
#include <shell/e-shell-view.h>
void vfolder_load_storage (EMailBackend *backend);
-void vfolder_edit (EShellView *shell_view);
-void vfolder_edit_rule (EMailBackend *backend,
- const gchar *folder_uri);
-EFilterRule * vfolder_clone_rule (EMailBackend *backend,
+void vfolder_edit (EMailBackend *backend,
+ GtkWindow *parent_window);
+void vfolder_edit_rule (EMailSession *session,
+ const gchar *folder_uri,
+ EAlertSink *alert_sink);
+EFilterRule * vfolder_clone_rule (EMailSession *session,
EFilterRule *in);
void vfolder_gui_add_rule (EMVFolderRule *rule);
void vfolder_gui_add_from_message (EMailSession *session,