projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2007-04-15 Sergio Villar Senin <svillar@igalia.com>
[modest]
/
src
/
modest-tny-send-queue.h
diff --git
a/src/modest-tny-send-queue.h
b/src/modest-tny-send-queue.h
index
0af775a
..
148797d
100644
(file)
--- a/
src/modest-tny-send-queue.h
+++ b/
src/modest-tny-send-queue.h
@@
-27,10
+27,6
@@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
-#ifndef __MODEST_TNY_SEND_QUEUE_H__
-#define __MODEST_TNY_SEND_QUEUE_H__
-
#include <glib.h>
#include <glib-object.h>
#include <tny-send-queue.h>
#include <glib.h>
#include <glib-object.h>
#include <tny-send-queue.h>
@@
-38,6
+34,9
@@
#include <tny-msg.h>
#include <tny-camel-transport-account.h>
#include <tny-msg.h>
#include <tny-camel-transport-account.h>
+#ifndef __MODEST_TNY_SEND_QUEUE_H__
+#define __MODEST_TNY_SEND_QUEUE_H__
+
G_BEGIN_DECLS
/* convenience macros */
G_BEGIN_DECLS
/* convenience macros */
@@
-80,6
+79,18
@@
GType modest_tny_send_queue_get_type (void) G_GNUC_CONST;
*/
ModestTnySendQueue* modest_tny_send_queue_new (TnyCamelTransportAccount *account);
*/
ModestTnySendQueue* modest_tny_send_queue_new (TnyCamelTransportAccount *account);
+
+
+/**
+ * modest_tny_send_queue_flush:
+ * @self: a valid #ModestTnySendQueue instance
+ *
+ * (try to) send the messages in the outbox folder
+ *
+ */
+void modest_tny_send_queue_flush (ModestTnySendQueue* self);
+
+
G_END_DECLS
#endif /* __MODEST_TNY_SEND_QUEUE_H__ */
G_END_DECLS
#endif /* __MODEST_TNY_SEND_QUEUE_H__ */