* public method in modest_progress_object to get the
[modest] / src / modest-progress-object.c
index 11d1c5c..44cd6d1 100644 (file)
@@ -45,6 +45,19 @@ 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);
+}
+
+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)
 {
@@ -78,3 +91,4 @@ modest_progress_object_get_type (void)
        return my_type;
 }
 
+