]> git.street.me.uk Git - andy/viking.git/blobdiff - src/background.h
Fix incorrect GPSBabel/Garmin symbol names.
[andy/viking.git] / src / background.h
index 0e474973e5dfc1a5467a2c8954f64bfd4ebbd339..01e1bfde2bff5ee8f839c51da0cda6bf2cd4cfc6 100644 (file)
 #ifndef __VIKING_BACKGROUND_H
 #define __VIKING_BACKGROUND_H
 
+#include <glib.h>
+#include <gtk/gtk.h>
+
+#include "vikwindow.h"
+
+G_BEGIN_DECLS
+
 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_add_status(VikStatusbar *vs);
-void a_background_remove_status(VikStatusbar *vs);
+void a_background_uninit ();
+void a_background_add_window (VikWindow *vw);
+void a_background_remove_window (VikWindow *vw);
+
+G_END_DECLS
 
 #endif