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-08-13 10:36:47 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:01:12 +0300
commit14bd3880fed7ff3156872ef38b040fe0e04f280b (patch)
treee9203c8a1772f5330c79946a3239284e8e320c78 /map/framework.hpp
parentea10728f856cd9bb157e8f9d99d31b447a710edc (diff)
Corrections after colleagues comments.
Diffstat (limited to 'map/framework.hpp')
-rw-r--r--map/framework.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/map/framework.hpp b/map/framework.hpp
index e83347752e..b47313b30f 100644
--- a/map/framework.hpp
+++ b/map/framework.hpp
@@ -585,6 +585,12 @@ public:
inline bool AreTurnNotificationsEnabled() const { return m_routingSession.AreTurnNotificationsEnabled(); }
inline void SetTurnNotificationsLocale(string const & locale) { m_routingSession.SetTurnNotificationsLocale(locale); }
inline string GetTurnNotificationsLocale() const { return m_routingSession.GetTurnNotificationsLocale(); }
+ /// \brief When an end user is going to a turn he gets sound turn instructions.
+ /// If C++ part wants the client to pronounce an instruction GenerateTurnSound (in turnNotifications) returns
+ /// an array of one of more strings. C++ part assumes that all these strings shall be pronounced by the client's TTS.
+ /// For example if C++ part wants the client to pronounce "Make a right turn." this method returns
+ /// an array with one string "Make a right turn.". The next call of the method returns nothing.
+ /// GenerateTurnSound shall be called by the client when a new position is available.
inline void GenerateTurnSound(vector<string> & turnNotifications)
{ return m_routingSession.GenerateTurnSound(turnNotifications); }