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-04-19 15:13:50 +0300
committerDaria Volvenkova <d.volvenkova@corp.mail.ru>2017-04-19 15:59:10 +0300
commitcadbd5f29afbb7654ccc19eaac5cb99eb45c9cda (patch)
tree6e85efcd30a8f0f4bf82e8b1eb67e851f73ae36c /indexer/feature.hpp
parent02483b4948479ec463c737b6db77dbc3db015079 (diff)
Reduced count of getting device language calls.
Diffstat (limited to 'indexer/feature.hpp')
-rw-r--r--indexer/feature.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indexer/feature.hpp b/indexer/feature.hpp
index 2716cd9827..2160fc3377 100644
--- a/indexer/feature.hpp
+++ b/indexer/feature.hpp
@@ -285,9 +285,11 @@ public:
/// @param[out] intName optionally choosen from tags "name:<lang_code>" by the algorithm
//@{
/// Just get feature names.
- void GetPreferredNames(bool allowTranslit, string & defaultName, string & intName) const;
+ void GetPreferredNames(string & defaultName, string & intName) const;
+ void GetPreferredNames(bool allowTranslit, int8_t deviceLang, string & defaultName, string & intName) const;
/// Get one most suitable name for user.
- void GetReadableName(bool allowTranslit, string & name) const;
+ void GetReadableName(string & name) const;
+ void GetReadableName(bool allowTranslit, int8_t deviceLang, string & name) const;
static int8_t const DEFAULT_LANG = StringUtf8Multilang::kDefaultCode;
bool GetName(int8_t lang, string & name) const;