Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Shalnev <c.shalnev@corp.mail.ru>2015-07-23 16:19:16 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:57:25 +0300
commit51eb668201b278223ac053e94673518bd3a84ca7 (patch)
treeeb996f8e47b9b283a0663ad007bf8232a4429e3d /map/framework.hpp
parent0115223450cafdb054e6a62ecc65521e3a91baa8 (diff)
Added public API to set/get current router
Diffstat (limited to 'map/framework.hpp')
-rw-r--r--map/framework.hpp4
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);