void (*queue_empty) (ModestMailOperationQueue *self);
};
+
/* member functions */
GType modest_mail_operation_queue_get_type (void) G_GNUC_CONST;
**/
void modest_mail_operation_queue_cancel_all (ModestMailOperationQueue *op_queue);
+/**
+ * modest_mail_operation_queue_get_by_source:
+ * @op_queue: a #ModestMailOperationQueue
+ * @source: the source of the operations
+ *
+ * Returns a list with the #ModestMailOperation that have the given source
+ **/
+GSList* modest_mail_operation_queue_get_by_source (ModestMailOperationQueue *op_queue, GObject *source);
+
+
+/**
+ * modest_mail_operation_queue_get_by_source:
+ * @op_queue: a #ModestMailOperationQueue
+ *
+ * Returns a string representation of the operation queue (for debugging)
+ *
+ * Returns: a newly allocated string, or NULL in case of error
+ **/
+gchar* modest_mail_operation_queue_to_string (ModestMailOperationQueue *self);
+
G_END_DECLS
#endif /* __MODEST_MAIL_OPERATION_QUEUE_H__ */