/* Signals */
void (*progress_changed) (ModestMailOperation *self, ModestMailOperationState *state, gpointer user_data);
+ void (*operation_started) (ModestMailOperation *self, gpointer user_data);
+ void (*operation_finished) (ModestMailOperation *self, gpointer user_data);
};
/* member functions */
* @html_body: the html version of the body of the new mail. If NULL, the mail will
* be sent with the plain body only.
* @attachments_list: a #GList of attachments, each attachment must be a #TnyMimePart
+ * @images_list: a #GList of image attachments, each attachment must be a #TnyMimePart
*
* Sends a new mail message using the provided
* #TnyTransportAccount. This operation is synchronous, so the
const gchar *plain_body,
const gchar *html_body,
const GList *attachments_list,
+ const GList *images_list,
TnyHeaderFlags priority_flags);
* @html_body: the html version of the body of the new mail. If NULL, the mail will
* be sent with the plain body only.
* @attachments_list: a #GList of attachments, each attachment must be a #TnyMimePart
+ * @images_list: a #GList of image attachments, each attachment must be a #TnyMimePart
*
* Save a mail message to drafts using the provided
* #TnyTransportAccount. This operation is synchronous, so the
const gchar *plain_body,
const gchar *html_body,
const GList *attachments_list,
+ const GList *images_list,
TnyHeaderFlags priority_flags);
/**
* modest_mail_operation_update_account:
RefreshAsyncUserCallback user_callback,
gpointer user_data);
-guint modest_mail_operation_get_id (ModestMailOperation *self);
-
-guint modest_mail_operation_set_id (ModestMailOperation *self,
- guint id);
+TnyAccount *modest_mail_operation_get_account (ModestMailOperation *self);
G_END_DECLS