aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-activity-handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-activity-handler.h')
-rw-r--r--widgets/misc/e-activity-handler.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/widgets/misc/e-activity-handler.h b/widgets/misc/e-activity-handler.h
index 304882fe57..619359bf28 100644
--- a/widgets/misc/e-activity-handler.h
+++ b/widgets/misc/e-activity-handler.h
@@ -24,7 +24,7 @@
#define _E_ACTIVITY_HANDLER_H_
#include "e-task-bar.h"
-
+#include "e-util/e-logger.h"
#include <glib-object.h>
#ifdef __cplusplus
@@ -71,6 +71,13 @@ guint e_activity_handler_operation_started (EActivityHandler *activity_handler
GdkPixbuf *icon_pixbuf,
const char *information,
gboolean cancellable);
+guint e_activity_handler_cancelable_operation_started (EActivityHandler *activity_handler,
+ const char *component_id,
+ GdkPixbuf *icon_pixbuf,
+ const char *information,
+ gboolean cancellable,
+ void (*cancel_func)(gpointer),
+ gpointer user_data);
void e_activity_handler_operation_progressing (EActivityHandler *activity_handler,
guint activity_id,
@@ -80,6 +87,18 @@ void e_activity_handler_operation_progressing (EActivityHandler *activity_hand
void e_activity_handler_operation_finished (EActivityHandler *activity_handler,
guint activity_id);
+void e_activity_handler_set_logger (EActivityHandler *handler, ELogger *logger);
+guint e_activity_handler_make_error (EActivityHandler *activity_handler,
+ const char *component_id,
+ const char *information,
+ GtkWidget *error);
+void
+e_activity_handler_operation_set_error (EActivityHandler *activity_handler,
+ guint activity_id,
+ GtkWidget *error);
+
+void
+e_activity_handler_set_error_flush_time (EActivityHandler *handler, int time);
#ifdef __cplusplus
}