]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikroutingwebengine.c
[QA] Rename routing engine function as it gives URLs
[andy/viking.git] / src / vikroutingwebengine.c
index 27a3f40bd4137c3cccfa23338acba42917f51c68..91f7b986d5685daa6d10853b7b29c12f9e6b6c04 100644 (file)
@@ -43,7 +43,7 @@
 static void vik_routing_web_engine_finalize ( GObject *gob );
 
 static gboolean vik_routing_web_engine_find ( VikRoutingEngine *self, VikTrwLayer *vtl, struct LatLon start, struct LatLon end );
-static gchar *vik_routing_web_engine_get_cmd_from_directions(VikRoutingEngine *self, const gchar *start, const gchar *end);
+static gchar *vik_routing_web_engine_get_url_from_directions(VikRoutingEngine *self, const gchar *start, const gchar *end);
 static gboolean vik_routing_web_engine_supports_direction(VikRoutingEngine *self);
 static gboolean vik_routing_web_engine_refine ( VikRoutingEngine *self, VikTrwLayer *vtl, VikTrack *vt );
 static gboolean vik_routing_web_engine_supports_refine ( VikRoutingEngine *self );
@@ -210,7 +210,7 @@ static void vik_routing_web_engine_class_init ( VikRoutingWebEngineClass *klass
 
   parent_class->find = vik_routing_web_engine_find;
   parent_class->supports_direction = vik_routing_web_engine_supports_direction;
-  parent_class->get_cmd_from_directions = vik_routing_web_engine_get_cmd_from_directions;
+  parent_class->get_url_from_directions = vik_routing_web_engine_get_url_from_directions;
   parent_class->refine = vik_routing_web_engine_refine;
   parent_class->supports_refine = vik_routing_web_engine_supports_refine;
 
@@ -433,7 +433,7 @@ vik_routing_web_engine_find ( VikRoutingEngine *self, VikTrwLayer *vtl, struct L
 }
 
 static gchar *
-vik_routing_web_engine_get_cmd_from_directions ( VikRoutingEngine *self, const gchar *start, const gchar *end )
+vik_routing_web_engine_get_url_from_directions ( VikRoutingEngine *self, const gchar *start, const gchar *end )
 {
   g_return_val_if_fail ( VIK_IS_ROUTING_WEB_ENGINE (self), NULL);