]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikroutingengine.h
[QA] Rename routing engine function as it gives URLs
[andy/viking.git] / src / vikroutingengine.h
index 0cf8b4a7b57b5bb7c42c2e4588db6dfe58581bd4..a23cc1e55e6c5992f200cadbc8b5d5dbd24b81f5 100644 (file)
@@ -46,7 +46,7 @@ struct _VikRoutingEngineClass
 {
   GObjectClass object_class;
   gboolean (*find)(VikRoutingEngine *self, VikTrwLayer *vtl, struct LatLon start, struct LatLon end);
-  gchar *(*get_cmd_from_directions)(VikRoutingEngine *self, const gchar *start, const gchar *end);
+  gchar *(*get_url_from_directions)(VikRoutingEngine *self, const gchar *start, const gchar *end);
   gboolean (*supports_direction)(VikRoutingEngine *self);
   gboolean (*refine)(VikRoutingEngine *self, VikTrwLayer *vtl, VikTrack *vt);
   gboolean (*supports_refine)(VikRoutingEngine *self);
@@ -60,7 +60,7 @@ struct _VikRoutingEngine {
 
 gboolean vik_routing_engine_find ( VikRoutingEngine *self, VikTrwLayer *vtl, struct LatLon start, struct LatLon end );
 gboolean vik_routing_engine_refine ( VikRoutingEngine *self, VikTrwLayer *vtl, VikTrack *vt );
-gchar *vik_routing_engine_get_cmd_from_directions ( VikRoutingEngine *self, const gchar *start, const gchar *end );
+gchar *vik_routing_engine_get_url_from_directions ( VikRoutingEngine *self, const gchar *start, const gchar *end );
 
 /* Acessors */
 gchar *vik_routing_engine_get_id ( VikRoutingEngine *self );