| 41 | }; |
| 42 | |
| 43 | struct Route |
| 44 | { |
| 45 | static void Dump(Route const & route, FileWriter & writer); |
| 46 | static Route Load(ReaderSource<FileReader> & src); |
| 47 | |
| 48 | std::vector<ms::LatLon> const & GetWaypoints() const { return m_waypoints; } |
| 49 | double GetETA() const { return m_eta; } |
| 50 | |
| 51 | double m_eta = 0.0; |
| 52 | double m_distance = 0.0; |
| 53 | std::vector<ms::LatLon> m_waypoints; |
| 54 | }; |
| 55 | |
| 56 | struct Response |
| 57 | { |
no outgoing calls