X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/c9ee385c638ffa5266b9cc703620939ac03a7c07..3f31bec4a6927651bc562e8b21aa0c7354328e1b:/src/vikgototool.h diff --git a/src/vikgototool.h b/src/vikgototool.h index 95f94bc5..fec270ab 100644 --- a/src/vikgototool.h +++ b/src/vikgototool.h @@ -26,6 +26,8 @@ #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)) #define VIK_GOTO_TOOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VIK_GOTO_TOOL_TYPE, VikGotoToolClass)) @@ -42,7 +44,7 @@ struct _VikGotoToolClass GObjectClass object_class; gchar *(* get_label) (VikGotoTool *self); gchar *(* get_url_format) (VikGotoTool *self); - DownloadOptions *(* get_download_options) (VikGotoTool *self); + DownloadMapOptions *(* get_download_options) (VikGotoTool *self); gboolean (* parse_file_for_latlon) (VikGotoTool *self, gchar *filename, struct LatLon *ll); }; @@ -54,8 +56,10 @@ struct _VikGotoTool { gchar *vik_goto_tool_get_label ( VikGotoTool *self ); gchar *vik_goto_tool_get_url_format ( VikGotoTool *self ); -DownloadOptions *vik_goto_tool_get_download_options ( 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