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:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2017-02-01 15:43:20 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2017-02-01 15:43:20 +0300
commit5013336567ac1c1d115745b99c471b17c2700ca6 (patch)
tree5700b066163d31e9eb37ae022f2305f37b9f819a /indexer/ftypes_matcher.hpp
parente487db8556bc8fc775f4cd6c452493f6a220c7b8 (diff)
Added road shields rendering
Diffstat (limited to 'indexer/ftypes_matcher.hpp')
-rw-r--r--indexer/ftypes_matcher.hpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/indexer/ftypes_matcher.hpp b/indexer/ftypes_matcher.hpp
index c3d6e02d5d..a63267e7be 100644
--- a/indexer/ftypes_matcher.hpp
+++ b/indexer/ftypes_matcher.hpp
@@ -240,4 +240,33 @@ enum class HighwayClass
string DebugPrint(HighwayClass const cls);
HighwayClass GetHighwayClass(feature::TypesHolder const & types);
+
+enum class RoadShieldType
+{
+ Default = 0,
+ US_Interstate,
+ US_Highway,
+ UK_Motorway,
+ UK_Highway,
+ Russia_Motorway,
+ Russia_Highway,
+ Count
+};
+
+struct RoadShield
+{
+ RoadShieldType m_type;
+ std::string m_name;
+ std::string m_additionalText;
+
+ RoadShield() = default;
+ RoadShield(RoadShieldType const & type, std::string const & name)
+ : m_type(type), m_name(name)
+ {}
+ RoadShield(RoadShieldType const & type, std::string const & name, std::string const & additionalText)
+ : m_type(type), m_name(name), m_additionalText(additionalText)
+ {}
+};
+
+std::vector<RoadShield> GetRoadShields(FeatureType const & f);
} // namespace ftypes