diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2016-07-27 13:12:26 +0300 |
---|---|---|
committer | VladiMihaylenko <vxmihaylenko@gmail.com> | 2016-08-08 11:39:37 +0300 |
commit | 3ee8d0d2f8913bfcfe5e0d1f38664486a168a0fd (patch) | |
tree | e891bba331d049af763a8adb72cbf14600dec12c /map/framework.hpp | |
parent | bc5a666c97ee869411ac6b54f36f0ac04ee9d477 (diff) |
Review fixes.
Diffstat (limited to 'map/framework.hpp')
-rw-r--r-- | map/framework.hpp | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/map/framework.hpp b/map/framework.hpp index ebd0e43306..ab884b26ea 100644 --- a/map/framework.hpp +++ b/map/framework.hpp @@ -503,10 +503,19 @@ public: /// Set correct viewport, parse API, show balloon. bool ShowMapForURL(string const & url); - url_scheme::ParsingResult ParseApiURL(string const & url); + url_scheme::ParsedMapApi::ParsingResult ParseAndSetApiURL(string const & url); - using TParsedRoutingPointAndType = pair<vector<url_scheme::RoutePoint>, routing::RouterType>; - TParsedRoutingPointAndType GetParsedRoutingData() const; + struct ParsedRoutingData + { + ParsedRoutingData(vector<url_scheme::RoutePoint> const & points, routing::RouterType type) + : m_points(points), m_type(type) + { + } + vector<url_scheme::RoutePoint> m_points; + routing::RouterType m_type; + }; + + ParsedRoutingData GetParsedRoutingData() const; private: // TODO(vng): Uncomment when needed. |