]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikgototool.h
Minimum GTK+2.14 required for the build.
[andy/viking.git] / src / vikgototool.h
index f8043c94ca2401e799e47c2eafd6a35810a7ffda..fec270abce7c22628d84cef6adbcc054166a1586 100644 (file)
@@ -24,6 +24,9 @@
 #include <glib.h>
 
 #include "vikwindow.h"
+#include "download.h"
+
+G_BEGIN_DECLS
 
 #define VIK_GOTO_TOOL_TYPE            (vik_goto_tool_get_type ())
 #define VIK_GOTO_TOOL(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), VIK_GOTO_TOOL_TYPE, VikGotoTool))
@@ -40,7 +43,9 @@ struct _VikGotoToolClass
 {
   GObjectClass object_class;
   gchar *(* get_label) (VikGotoTool *self);
-  int (* get_coord) (VikGotoTool *self, VikWindow *vw, VikViewport *vvp, gchar *srch_str, VikCoord *coord);
+  gchar *(* get_url_format) (VikGotoTool *self);
+  DownloadMapOptions *(* get_download_options) (VikGotoTool *self);
+  gboolean (* parse_file_for_latlon) (VikGotoTool *self, gchar *filename, struct LatLon *ll);
 };
 
 GType vik_goto_tool_get_type ();
@@ -50,6 +55,11 @@ struct _VikGotoTool {
 };
 
 gchar *vik_goto_tool_get_label ( VikGotoTool *self );
+gchar *vik_goto_tool_get_url_format ( VikGotoTool *self );
+DownloadMapOptions *vik_goto_tool_get_download_options ( VikGotoTool *self );
+gboolean vik_goto_tool_parse_file_for_latlon ( VikGotoTool *self, gchar *filename, struct LatLon *ll );
 int vik_goto_tool_get_coord ( VikGotoTool *self, VikWindow *vw, VikViewport *vvp, gchar *srch_str, VikCoord *coord );
 
+G_END_DECLS
+
 #endif