X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/469856bf9dec2656433baaa976b9af84d79769ae..6b59f63de80e2fed207ae07ff7a7173ce760a6df:/src/vikmapsource.h?ds=sidebyside diff --git a/src/vikmapsource.h b/src/vikmapsource.h index 516baa86..7088c56e 100644 --- a/src/vikmapsource.h +++ b/src/vikmapsource.h @@ -54,6 +54,7 @@ struct _VikMapSourceClass guint16 (* get_tilesize_x) (VikMapSource * self); guint16 (* get_tilesize_y) (VikMapSource * self); VikViewportDrawMode (* get_drawmode) (VikMapSource * self); + gboolean (* is_direct_file_access) (VikMapSource * self); gboolean (* supports_download_only_new) (VikMapSource * self); gboolean (* coord_to_mapcoord) (VikMapSource * self, const VikCoord * src, gdouble xzoom, gdouble yzoom, MapCoord * dest); void (* mapcoord_to_center_coord) (VikMapSource * self, MapCoord * src, VikCoord * dest); @@ -79,6 +80,7 @@ const gchar *vik_map_source_get_label (VikMapSource * self); guint16 vik_map_source_get_tilesize_x (VikMapSource * self); guint16 vik_map_source_get_tilesize_y (VikMapSource * self); VikViewportDrawMode vik_map_source_get_drawmode (VikMapSource * self); +gboolean vik_map_source_is_direct_file_access (VikMapSource * self); gboolean vik_map_source_supports_download_only_new (VikMapSource * self); gboolean vik_map_source_coord_to_mapcoord (VikMapSource * self, const VikCoord *src, gdouble xzoom, gdouble yzoom, MapCoord *dest ); void vik_map_source_mapcoord_to_center_coord (VikMapSource * self, MapCoord *src, VikCoord *dest);