| 1727 | } |
| 1728 | |
| 1729 | bool IndexRouter::AreSpeedCamerasProhibited(NumMwmId mwmID) const |
| 1730 | { |
| 1731 | if (routing::AreSpeedCamerasProhibited(m_numMwmIds->GetFile(mwmID))) |
| 1732 | { |
| 1733 | // Not a big overhead here, but can cache flag in IndexRouter and reset it via |
| 1734 | // Framework -> RoutingSession -> IndexRouter. |
| 1735 | bool enabled = false; |
| 1736 | settings::TryGet(kDebugSpeedCamSetting, enabled); |
| 1737 | return !enabled; |
| 1738 | } |
| 1739 | return false; |
| 1740 | } |
| 1741 | |
| 1742 | bool IndexRouter::AreMwmsNear(IndexGraphStarter const & starter) const |
| 1743 | { |
nothing calls this directly
no test coverage detected