| 35 | } |
| 36 | |
| 37 | void RoutingOptions::Add(RoutingOptions::Road type) |
| 38 | { |
| 39 | if (type == RoutingOptions::Road::Paved) |
| 40 | Remove(RoutingOptions::Road::Dirty); |
| 41 | else if (type == RoutingOptions::Road::Dirty) |
| 42 | Remove(RoutingOptions::Road::Paved); |
| 43 | m_options |= static_cast<RoadType>(type); |
| 44 | } |
| 45 | |
| 46 | void RoutingOptions::Remove(RoutingOptions::Road type) |
| 47 | { |
no outgoing calls