diff options
author | Arsentiy Milchakov <milcars@mapswithme.com> | 2017-04-17 17:33:36 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2017-04-17 17:33:36 +0300 |
commit | 7173e11e243e4b70d5015232c73d762d4269259b (patch) | |
tree | 5e58978138af057e232c282b0566c11eaff940f5 /indexer/feature_utils.hpp | |
parent | 50936b3eb5261cd287d277a053633ac42819fdd2 (diff) |
review fixes
Diffstat (limited to 'indexer/feature_utils.hpp')
-rw-r--r-- | indexer/feature_utils.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indexer/feature_utils.hpp b/indexer/feature_utils.hpp index 7f4f055147..7b91c797d9 100644 --- a/indexer/feature_utils.hpp +++ b/indexer/feature_utils.hpp @@ -46,4 +46,12 @@ namespace feature /// - country language name. void GetReadableName(RegionData const & regionData, StringUtf8Multilang const & src, int8_t const deviceLang, bool allowTranslit, string & out); + + /// Returns language id as return result and name for search on booking in the @name parameter, + /// the priority is the following: + /// - default name; + /// - country language name; + /// - english name. + int8_t GetNameForSearchOnBooking(RegionData const & regionData, StringUtf8Multilang const & src, + string & name); } // namespace feature |