diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-05-25 02:09:54 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-05-25 10:03:51 +0800 |
commit | dea7daf4c33ce4bdd020c19a3440538371b415a7 (patch) | |
tree | f1ba2eb8387f1da1f4cdfea7f0e76b488ed984f7 /libemail-engine/e-mail-session-utils.h | |
parent | 9b742e1f4a223e7025697faf1e1d2ffaab021226 (diff) | |
download | gsoc2013-evolution-dea7daf4c33ce4bdd020c19a3440538371b415a7.tar gsoc2013-evolution-dea7daf4c33ce4bdd020c19a3440538371b415a7.tar.gz gsoc2013-evolution-dea7daf4c33ce4bdd020c19a3440538371b415a7.tar.bz2 gsoc2013-evolution-dea7daf4c33ce4bdd020c19a3440538371b415a7.tar.lz gsoc2013-evolution-dea7daf4c33ce4bdd020c19a3440538371b415a7.tar.xz gsoc2013-evolution-dea7daf4c33ce4bdd020c19a3440538371b415a7.tar.zst gsoc2013-evolution-dea7daf4c33ce4bdd020c19a3440538371b415a7.zip |
EMailSession: Add helper functions for sending messages.
New functions:
e_mail_session_get_fcc_for_message_sync()
e_mail_session_get_fcc_for_message()
e_mail_session_get_fcc_for_message_finish()
e_mail_session_ref_transport()
e_mail_session_ref_default_transport()
e_mail_session_ref_transport_for_message()
Diffstat (limited to 'libemail-engine/e-mail-session-utils.h')
-rw-r--r-- | libemail-engine/e-mail-session-utils.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libemail-engine/e-mail-session-utils.h b/libemail-engine/e-mail-session-utils.h index 0c7cff3f97..6349834d8d 100644 --- a/libemail-engine/e-mail-session-utils.h +++ b/libemail-engine/e-mail-session-utils.h @@ -97,6 +97,29 @@ void e_mail_session_send_to (EMailSession *session, gboolean e_mail_session_send_to_finish (EMailSession *session, GAsyncResult *result, GError **error); +CamelFolder * e_mail_session_get_fcc_for_message_sync + (EMailSession *session, + CamelMimeMessage *message, + GCancellable *cancellable, + GError **error); +void e_mail_session_get_fcc_for_message + (EMailSession *session, + CamelMimeMessage *message, + gint io_priority, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +CamelFolder * e_mail_session_get_fcc_for_message_finish + (EMailSession *session, + GAsyncResult *result, + GError **error); +CamelService * e_mail_session_ref_transport (EMailSession *session, + const gchar *transport_uid); +CamelService * e_mail_session_ref_default_transport + (EMailSession *session); +CamelService * e_mail_session_ref_transport_for_message + (EMailSession *session, + CamelMimeMessage *message); G_END_DECLS |