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:
authorDaria Volvenkova <d.volvenkova@corp.mail.ru>2017-02-01 16:02:19 +0300
committerGitHub <noreply@github.com>2017-02-01 16:02:19 +0300
commit450e210f9f5b8300f4b6064ec0ee1ca431c6991d (patch)
tree35cecd65ed2270b752bc4f6f35879a33e5b1bef9 /indexer/ftypes_matcher.hpp
parent01353f902a9e378960db520c3a3183f559ffeace (diff)
parenteefb5272b2a1381168e05c00c7c79799e739cf25 (diff)
Merge pull request #5288 from rokuz/shields-rendering
Added 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 760d391120..f0b02030af 100644
--- a/indexer/ftypes_matcher.hpp
+++ b/indexer/ftypes_matcher.hpp
@@ -249,4 +249,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