diff --git a/map/routing_manager.cpp b/map/routing_manager.cpp index 85983f3c7e..d7f1ca3489 100644 --- a/map/routing_manager.cpp +++ b/map/routing_manager.cpp @@ -1046,8 +1046,6 @@ void RoutingManager::BuildRoute(uint32_t timeoutSec) } } - CallRouteBuildStart(routePoints); - if (IsRoutingActive()) CloseRouting(false /* remove route points */); @@ -1127,11 +1125,6 @@ void RoutingManager::ConfigureArchivalReporter(tracking::ArchivingSettings const m_trackingReporterArchive.SetArchivalManagerSettings(settings); } -void RoutingManager::CallRouteBuildStart(std::vector const & points) -{ - m_routingStartBuildCallback(points); -} - void RoutingManager::MatchLocationToRoute(location::GpsInfo & location, location::RouteMatchingInfo & routeMatchingInfo) { diff --git a/map/routing_manager.hpp b/map/routing_manager.hpp index 8387e2f9c5..e1aeca0ff5 100644 --- a/map/routing_manager.hpp +++ b/map/routing_manager.hpp @@ -165,10 +165,6 @@ public: m_routeSpeedCamsClearCallback = speedCamsClearCallback; } - void SetRouteStartBuildListener(RouteStartBuildCallback const & startBuildCallback) - { - m_routingStartBuildCallback = startBuildCallback; - } /// See warning above. void SetRouteProgressListener(routing::ProgressCallback const & progressCallback) { @@ -261,7 +257,6 @@ public: void OnRemoveRoute(routing::RouterResultCode code); void OnRoutePointPassed(RouteMarkType type, size_t intermediateIndex); void OnLocationUpdate(location::GpsInfo const & info); - void CallRouteBuildStart(std::vector const & points); void SetAllowSendingPoints(bool isAllowed) { m_trackingReporter.SetAllowSendingPoints(isAllowed); @@ -379,7 +374,6 @@ private: RouteSpeedCamShowCallback m_routeSpeedCamShowCallback; RouteSpeedCamsClearCallback m_routeSpeedCamsClearCallback; RouteRecommendCallback m_routeRecommendCallback; - RouteStartBuildCallback m_routingStartBuildCallback; Callbacks m_callbacks; df::DrapeEngineSafePtr m_drapeEngine; routing::RouterType m_currentRouterType = routing::RouterType::Count;