Fixed the text in the popup
[modest] / src / modest-mail-operation.h
index b45df3d..f3e17ee 100644 (file)
@@ -32,7 +32,6 @@
 
 #include <tny-transport-account.h>
 #include <tny-folder-store.h>
-#include <widgets/modest-msg-edit-window.h>
 #include <modest-tny-send-queue.h>
 #include <modest-tny-account-store.h>
 
@@ -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