Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladiMihaylenko <vxmihaylenko@gmail.com>2016-07-27 13:12:26 +0300
committerVladiMihaylenko <vxmihaylenko@gmail.com>2016-08-08 11:39:37 +0300
commit3ee8d0d2f8913bfcfe5e0d1f38664486a168a0fd (patch)
treee891bba331d049af763a8adb72cbf14600dec12c /map/framework.hpp
parentbc5a666c97ee869411ac6b54f36f0ac04ee9d477 (diff)
Review fixes.
Diffstat (limited to 'map/framework.hpp')
-rw-r--r--map/framework.hpp15
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.