X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmodest-progress-object.h;h=b8a59c240957ce326ab1330b5d81fcd11e18cc59;hb=8ca4cfa4cf41f383bdcbe2a7715ae8281bdbb626;hp=6ced675c94015a76db770a527352416b7884ce6f;hpb=1386f3b566f5b5c9aa2ea4d0a5a6157502a45b4f;p=modest diff --git a/src/modest-progress-object.h b/src/modest-progress-object.h index 6ced675..b8a59c2 100644 --- a/src/modest-progress-object.h +++ b/src/modest-progress-object.h @@ -50,6 +50,8 @@ struct _ModestProgressObjectIface { /* the 'vtable': declare function pointers here, eg.: */ void (*add_operation_func) (ModestProgressObject *self, ModestMailOperation *mail_op); void (*remove_operation_func) (ModestProgressObject *self, ModestMailOperation *mail_op); + void (*cancel_current_operation_func) (ModestProgressObject *self); + guint (*num_pending_operations_func) (ModestProgressObject *self); }; GType modest_progress_object_get_type (void) G_GNUC_CONST; @@ -59,7 +61,9 @@ void modest_progress_object_add_operation (ModestProgressObject *self void modest_progress_object_remove_operation (ModestProgressObject *self, ModestMailOperation *mail_op); +void modest_progress_object_cancel_current_operation (ModestProgressObject *self); +guint modest_progress_object_num_pending_operations (ModestProgressObject *self); G_END_DECLS