X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-tny-send-queue.h;h=a1cfedd51b91f7b430443f5bd3fdd324ed881cc5;hb=ab5e47a8570068f507a26a148a0dbecbb51c1bab;hp=6c23f0608404c04365641d4a02fb7b91001ffbb1;hpb=a9c347489d676ecf1cb0a4ba30059432aeccee80;p=modest diff --git a/src/modest-tny-send-queue.h b/src/modest-tny-send-queue.h index 6c23f06..a1cfedd 100644 --- a/src/modest-tny-send-queue.h +++ b/src/modest-tny-send-queue.h @@ -91,17 +91,6 @@ GType modest_tny_send_queue_get_type (void) G_GNUC_CONST; ModestTnySendQueue* modest_tny_send_queue_new (TnyCamelTransportAccount *account); - -/** - * modest_tny_send_queue_ADD: - * @self: a valid #ModestTnySendQueue instance - * @msg: a valid #TnyMsg instance to send - * - * Add @msg to outbox folder waiting to be sent by - * its account send queue. - */ -void modest_tny_send_queue_add (ModestTnySendQueue *self, TnyMsg *msg, GError **err); - /** * modest_tny_send_queue_sending_in_progress: * @self: a valid #ModestTnySendQueue instance @@ -166,6 +155,28 @@ gchar* modest_tny_send_queue_to_string (ModestTnySendQueue *self); */ void modest_tny_send_queue_wakeup (ModestTnySendQueue *self); +/** + * modest_tny_send_queue_get_requested_send_receive: + * @self: a #ModestTnySendQueue + * + * gets if the last request to send queue was an interactive send + * receive or not. + * + * Returns: %TRUE if last request was an interactive send receive, + * %FALSE otherwise. + */ +gboolean modest_tny_send_queue_get_requested_send_receive (ModestTnySendQueue *self); + +/** + * modest_tny_send_queue_set_requested_send_receive: + * @self: a #ModestTnySendQueue + * @requested_send_receive: mode. + * + * this should be called on each call to process the queue, to distinguish if the + * action was an interactive send receive. + */ +void modest_tny_send_queue_set_requested_send_receive (ModestTnySendQueue *self, gboolean requested_send_receive); + G_END_DECLS