[core] Support geo-navigation URL

Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
x7z4w
2025-09-22 14:21:19 +00:00
committed by Yannik Bloscheck
parent c21afb27bd
commit 74122e2fae
9 changed files with 185 additions and 10 deletions

View File

@@ -40,6 +40,7 @@ class CountryInfoGetter;
namespace routing
{
class NumMwmIds;
RouterType GetLastUsedRouter();
}
class DataSource;
@@ -172,7 +173,6 @@ public:
m2::PointD GetRouteEndPoint() const { return m_routingSession.GetEndPoint(); }
/// Returns the most situable router engine type.
routing::RouterType GetBestRouter(m2::PointD const & startPoint, m2::PointD const & finalPoint) const;
routing::RouterType GetLastUsedRouter() const;
void SetLastUsedRouter(routing::RouterType type);
// Sound notifications for turn instructions.
void EnableTurnNotifications(bool enable) { m_routingSession.EnableTurnNotifications(enable); }