diff options
author | Constantin Shalnev <c.shalnev@corp.mail.ru> | 2015-07-23 16:19:16 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:57:25 +0300 |
commit | 51eb668201b278223ac053e94673518bd3a84ca7 (patch) | |
tree | eb996f8e47b9b283a0663ad007bf8232a4429e3d /map/framework.hpp | |
parent | 0115223450cafdb054e6a62ecc65521e3a91baa8 (diff) |
Added public API to set/get current router
Diffstat (limited to 'map/framework.hpp')
-rw-r--r-- | map/framework.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/map/framework.hpp b/map/framework.hpp index bd8cfc3664..7748d3a1af 100644 --- a/map/framework.hpp +++ b/map/framework.hpp @@ -556,6 +556,8 @@ public: public: /// @name Routing mode //@{ + void SetRouter(routing::RouterType type); + routing::RouterType GetRouter() const; bool IsRoutingActive() const { return m_routingSession.IsActive(); } bool IsRouteBuilt() const { return m_routingSession.IsBuilt(); } bool IsRouteBuilding() const { return m_routingSession.IsBuilding(); } @@ -581,7 +583,7 @@ public: } private: - void SetRouter(routing::RouterType type); + void SetRouterImpl(routing::RouterType type); void RemoveRoute(); void InsertRoute(routing::Route const & route); void CheckLocationForRouting(location::GpsInfo const & info); |