X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/50a14534a51f892500ee82f867e8ab2f85b936ae..7ee554493260f2233d5984527188850a5404984f:/src/background.h?ds=sidebyside diff --git a/src/background.h b/src/background.h index 0e474973..e12734b3 100644 --- a/src/background.h +++ b/src/background.h @@ -22,15 +22,21 @@ #ifndef __VIKING_BACKGROUND_H #define __VIKING_BACKGROUND_H +#include +#include + +#include "vikstatus.h" + typedef void(*vik_thr_free_func)(gpointer); typedef void(*vik_thr_func)(gpointer,gpointer); /* the new way */ void a_background_thread ( GtkWindow *parent, const gchar *message, vik_thr_func func, gpointer userdata, vik_thr_free_func userdata_free_func, vik_thr_free_func userdata_cancel_cleanup_func, gint number_items ); -void a_background_thread_progress ( gpointer callbackdata, gdouble fraction ); -void a_background_testcancel ( gpointer callbackdata ); +int a_background_thread_progress ( gpointer callbackdata, gdouble fraction ); +int a_background_testcancel ( gpointer callbackdata ); void a_background_show_window (); void a_background_init (); +void a_background_uninit (); void a_background_add_status(VikStatusbar *vs); void a_background_remove_status(VikStatusbar *vs);