#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>
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;
const gchar *html_body,
const GList *attachments_list,
const GList *images_list,
+ const gchar *references,
+ const gchar *in_reply_to,
TnyHeaderFlags priority_flags);
const GList *attachments_list,
const GList *images_list,
TnyHeaderFlags priority_flags,
+ const gchar *references,
+ const gchar *in_reply_to,
SaveToDraftstCallback callback,
gpointer user_data);
/**
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