X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/34e71b99e03119ecc9b644595f66d2c0f86f9ac2..3f31bec4a6927651bc562e8b21aa0c7354328e1b:/src/vikgototool.h?ds=sidebyside diff --git a/src/vikgototool.h b/src/vikgototool.h index f8043c94..fec270ab 100644 --- a/src/vikgototool.h +++ b/src/vikgototool.h @@ -24,6 +24,9 @@ #include #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