diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-08-15 06:20:48 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-08-15 23:44:29 +0800 |
commit | cbf51737faf61d88c3b7c5349b5db635b892c2c1 (patch) | |
tree | 0bc436489470b182a045e34679dab07bdf97f08f /libemail-engine/e-mail-session-utils.h | |
parent | 3aa74ebe41c3d30c0e22dabd2c27c215a90d0c73 (diff) | |
download | gsoc2013-evolution-cbf51737faf61d88c3b7c5349b5db635b892c2c1.tar.gz gsoc2013-evolution-cbf51737faf61d88c3b7c5349b5db635b892c2c1.tar.zst gsoc2013-evolution-cbf51737faf61d88c3b7c5349b5db635b892c2c1.zip |
Add e_mail_session_append_to_local_folder().
Asynchronous + synchronous convenience functions.
Uses the EMailLocalFolder enumeration to specify a well-known folder.
Diffstat (limited to 'libemail-engine/e-mail-session-utils.h')
-rw-r--r-- | libemail-engine/e-mail-session-utils.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libemail-engine/e-mail-session-utils.h b/libemail-engine/e-mail-session-utils.h index aec6a500e6..0c7cff3f97 100644 --- a/libemail-engine/e-mail-session-utils.h +++ b/libemail-engine/e-mail-session-utils.h @@ -32,6 +32,28 @@ typedef enum { } EMailError; GQuark e_mail_error_quark (void) G_GNUC_CONST; +gboolean e_mail_session_append_to_local_folder_sync + (EMailSession *session, + EMailLocalFolder local_id, + CamelMimeMessage *message, + CamelMessageInfo *info, + gchar **appended_uid, + GCancellable *cancellable, + GError **error); +void e_mail_session_append_to_local_folder + (EMailSession *session, + EMailLocalFolder local_id, + CamelMimeMessage *message, + CamelMessageInfo *info, + gint io_priority, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +gboolean e_mail_session_append_to_local_folder_finish + (EMailSession *session, + GAsyncResult *result, + gchar **appended_uid, + GError **error); gboolean e_mail_session_handle_draft_headers_sync (EMailSession *session, CamelMimeMessage *message, |