]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikgototool.h
[QA] Limit scope of includes of vikutils header.
[andy/viking.git] / src / vikgototool.h
index 95f94bc52ed5c8a606616210259b7bc939876c49..fec270abce7c22628d84cef6adbcc054166a1586 100644 (file)
@@ -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