]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikgototool.h
Replace defunct IP to location lookup service.
[andy/viking.git] / src / vikgototool.h
index f8b8de7936a52517d49de6aa031d9e6f61e57077..d1a259720bcad4cbe7026fa786e1247cafa4a182 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);
-  DownloadMapOptions *(* get_download_options) (VikGotoTool *self);
+  DownloadFileOptions *(* 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 );
-DownloadMapOptions *vik_goto_tool_get_download_options ( VikGotoTool *self );
+DownloadFileOptions *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