diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-08-31 07:05:30 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-08-31 08:35:11 +0800 |
commit | f67a5f3d42aa9d743e6b78ace26a6ed1dbdc43e7 (patch) | |
tree | 98d3c6e13879d356ed0a4236ed9d2f5d48627980 /mail/mail-ops.h | |
parent | 60383e0427e57bfb5e2fb836b450ec7cf9717b5f (diff) | |
download | gsoc2013-evolution-f67a5f3d42aa9d743e6b78ace26a6ed1dbdc43e7.tar.gz gsoc2013-evolution-f67a5f3d42aa9d743e6b78ace26a6ed1dbdc43e7.tar.zst gsoc2013-evolution-f67a5f3d42aa9d743e6b78ace26a6ed1dbdc43e7.zip |
Miscellaneous cleanups.
Reducing diff noise with the account-mgmt branch.
Trying to erode our dependency on EAccount as much as possible, or at
least isolate its usage, to make things easier for me on the branch.
Diffstat (limited to 'mail/mail-ops.h')
-rw-r--r-- | mail/mail-ops.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/mail/mail-ops.h b/mail/mail-ops.h index 9803a6bb85..32784be245 100644 --- a/mail/mail-ops.h +++ b/mail/mail-ops.h @@ -27,10 +27,9 @@ G_BEGIN_DECLS #include <camel/camel.h> -#include <libedataserver/e-account.h> #include <mail/mail-mt.h> -#include <mail/e-mail-session.h> +#include <mail/e-mail-backend.h> void mail_transfer_messages (EMailSession *session, CamelFolder *source, @@ -51,14 +50,11 @@ void mail_refresh_folder (CamelFolder *folder, void (*done) (CamelFolder *folder, gpointer data), gpointer data); -void mail_expunge_folder (EMailSession *session, CamelFolder *folder, - void (*done) (CamelFolder *folder, gpointer data), - gpointer data); +void mail_expunge_folder (EMailBackend *backend, + CamelFolder *folder); -void mail_empty_trash (EMailSession *session, - EAccount *account, - void (*done) (EAccount *account, gpointer data), - gpointer data); +void mail_empty_trash (EMailBackend *backend, + CamelStore *store); /* transfer (copy/move) a folder */ void mail_xfer_folder (const gchar *src_uri, const gchar *dest_uri, gboolean remove_source, |