X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-progress-object.c;h=6de34517c2e0f088aac2aca66ace7927daa5e54e;hb=f99eb542955d168e3d9ca3fcd18df22d61ae1d56;hp=11d1c5c1110ba520bba9dbe436b07844cd90be8b;hpb=1386f3b566f5b5c9aa2ea4d0a5a6157502a45b4f;p=modest diff --git a/src/modest-progress-object.c b/src/modest-progress-object.c index 11d1c5c..6de3451 100644 --- a/src/modest-progress-object.c +++ b/src/modest-progress-object.c @@ -45,6 +45,25 @@ modest_progress_object_remove_operation (ModestProgressObject *self, return MODEST_PROGRESS_OBJECT_GET_IFACE (self)->remove_operation_func (self, mail_op); } +void +modest_progress_object_cancel_current_operation (ModestProgressObject *self) +{ + return MODEST_PROGRESS_OBJECT_GET_IFACE (self)->cancel_current_operation_func (self); +} + +void +modest_progress_object_cancel_all_operations (ModestProgressObject *self) +{ + return MODEST_PROGRESS_OBJECT_GET_IFACE (self)->cancel_all_operations_func (self); +} + +guint +modest_progress_object_num_pending_operations (ModestProgressObject *self) +{ + return MODEST_PROGRESS_OBJECT_GET_IFACE (self)->num_pending_operations_func (self); +} + + static void modest_progress_object_base_init (gpointer g_class) { @@ -77,4 +96,3 @@ modest_progress_object_get_type (void) } return my_type; } -