X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-mail-operation.h;h=f3e17eee100ee18fb3dc01220989a518d6b04619;hp=b45df3d37f3a7b1730f8536e40cba09876196bae;hb=b71db5829cbf156097d4f3bf6c8b8d5b4e0fcb52;hpb=4ed609c67210b021da2ac6584a75671c4012815d diff --git a/src/modest-mail-operation.h b/src/modest-mail-operation.h index b45df3d..f3e17ee 100644 --- a/src/modest-mail-operation.h +++ b/src/modest-mail-operation.h @@ -32,7 +32,6 @@ #include #include -#include #include #include @@ -78,6 +77,7 @@ typedef enum { MODEST_MAIL_OPERATION_TYPE_RUN_QUEUE, MODEST_MAIL_OPERATION_TYPE_SYNC_FOLDER, MODEST_MAIL_OPERATION_TYPE_SHUTDOWN, + MODEST_MAIL_OPERATION_TYPE_QUEUE_WAKEUP, MODEST_MAIL_OPERATION_TYPE_UNKNOWN, } ModestMailOperationTypeOperation; @@ -380,6 +380,8 @@ void modest_mail_operation_send_new_mail (ModestMailOperation *self, const gchar *html_body, const GList *attachments_list, const GList *images_list, + const gchar *references, + const gchar *in_reply_to, TnyHeaderFlags priority_flags); @@ -419,6 +421,8 @@ void modest_mail_operation_save_to_drafts (ModestMailOperation *self, const GList *attachments_list, const GList *images_list, TnyHeaderFlags priority_flags, + const gchar *references, + const gchar *in_reply_to, SaveToDraftstCallback callback, gpointer user_data); /** @@ -636,6 +640,18 @@ void modest_mail_operation_run_queue (ModestMailOperation *self, ModestTnySendQueue *queue); /** + * modest_mail_operation_queue_wakeup: + * @self: a #ModestMailOperation + * @queue: a #ModestTnySendQueue + * + * This mail operation is special. It should be running every time the send queue + * wakeup is running and we should notify end of the operation + * after wakeup has done msg-sent notification. + */ +void modest_mail_operation_queue_wakeup (ModestMailOperation *self, + ModestTnySendQueue *queue); + +/** * modest_mail_operation_sync_folder: * @self: a #ModestMailOperation * @folder: a #TnyFolder