diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2015-07-28 16:36:11 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:58:14 +0300 |
commit | d30f6611f798e48e4516e524f3ef71c6ea929d5b (patch) | |
tree | 44c01e8f426c190c1d19e8f354ccec181e44db49 /platform/get_text_by_id.hpp | |
parent | a040abf0ce37b7b874ed577dc559be116b76644d (diff) |
Corrections after colleagues comments.
Diffstat (limited to 'platform/get_text_by_id.hpp')
-rw-r--r-- | platform/get_text_by_id.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/platform/get_text_by_id.hpp b/platform/get_text_by_id.hpp index d5dba5bc53..807025644e 100644 --- a/platform/get_text_by_id.hpp +++ b/platform/get_text_by_id.hpp @@ -6,13 +6,19 @@ namespace platform { +// class GetTextById is ready to work with different sources of text strings. +// For the time being it's only strings for TTS. +enum class TextSource +{ + TtsSound = 0 +}; /// GetTextById represents text messages which are saved in textsDir /// in a specified locale. class GetTextById { public: - GetTextById(string const & textsDir, string const & localeName); + GetTextById(TextSource textSouce, string const & localeName); bool IsValid() const { return !m_localeTexts.empty(); } string operator()(string const & textId) const; |