diff options
author | Constantin Shalnev <c.shalnev@corp.mail.ru> | 2015-07-16 17:04:09 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:56:30 +0300 |
commit | 073f72f1777ff9b6aa5875c5bfd78716f0131ccc (patch) | |
tree | 5c513cd20800d8383646ff7d71c301ddc81386c0 /map/framework.hpp | |
parent | b905a52ef6dee5c2d2c4b69389bacdb77492b2a8 (diff) |
Added watchdog timer
Diffstat (limited to 'map/framework.hpp')
-rw-r--r-- | map/framework.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/map/framework.hpp b/map/framework.hpp index b71a26bb41..7e802191a6 100644 --- a/map/framework.hpp +++ b/map/framework.hpp @@ -559,7 +559,7 @@ public: bool IsRoutingActive() const { return m_routingSession.IsActive(); } bool IsRouteBuilt() const { return m_routingSession.IsBuilt(); } bool IsRouteBuilding() const { return m_routingSession.IsBuilding(); } - void BuildRoute(m2::PointD const & destination); + void BuildRoute(m2::PointD const & destination, uint32_t timeoutSec = 0); typedef function<void(routing::IRouter::ResultCode, vector<storage::TIndex> const &, vector<storage::TIndex> const &)> TRouteBuildingCallback; void SetRouteBuildingListener(TRouteBuildingCallback const & callback) { m_routingCallback = callback; } |