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:
authorVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2015-10-14 14:56:45 +0300
committerVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2015-10-14 14:56:45 +0300
commit63ad289b25b44ce08b409be3ca1b7f36125d9d37 (patch)
tree56577c9b34d2bbe92295e138b7e1cee269761975 /platform/get_text_by_id.hpp
parent12fd9dc7a1fd9d3fddf0cf88db0ffe0bf28e89d5 (diff)
Get reading of pointing detailed path to sound-strings for Platform::GetReader.
Diffstat (limited to 'platform/get_text_by_id.hpp')
-rw-r--r--platform/get_text_by_id.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/get_text_by_id.hpp b/platform/get_text_by_id.hpp
index 9a6fd38467..b153617820 100644
--- a/platform/get_text_by_id.hpp
+++ b/platform/get_text_by_id.hpp
@@ -50,4 +50,8 @@ private:
/// * a factory returns nullptr
TGetTextByIdPtr GetTextByIdFactory(TextSource textSource, string const & localeName);
TGetTextByIdPtr ForTestingGetTextByIdFactory(string const & jsonBuffer, string const & localeName);
+
+/// \bried fills jsonBuffer with json file in twine format with strings in a language of localeName.
+/// @return true if no error was happened and false otherwise.
+bool GetJsonBuffer(platform::TextSource textSource, string const & localeName, string & jsonBuffer);
} // namespace platform