X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-tny-send-queue.h;h=a1cfedd51b91f7b430443f5bd3fdd324ed881cc5;hp=826b778a697955d0e8c7701ebe272abc52423e33;hb=59b14198e1f8d28945cd7966a66e17122907094e;hpb=8c91efe73c60f49290ad30dc3fb039782b98e904 diff --git a/src/modest-tny-send-queue.h b/src/modest-tny-send-queue.h index 826b778..a1cfedd 100644 --- a/src/modest-tny-send-queue.h +++ b/src/modest-tny-send-queue.h @@ -155,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