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:
authorArsentiy Milchakov <milcars@mapswithme.com>2017-04-17 17:33:36 +0300
committerArsentiy Milchakov <milcars@mapswithme.com>2017-04-17 17:33:36 +0300
commit7173e11e243e4b70d5015232c73d762d4269259b (patch)
tree5e58978138af057e232c282b0566c11eaff940f5 /indexer/feature_utils.hpp
parent50936b3eb5261cd287d277a053633ac42819fdd2 (diff)
review fixes
Diffstat (limited to 'indexer/feature_utils.hpp')
-rw-r--r--indexer/feature_utils.hpp8
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