diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2015-06-30 12:41:54 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:54:30 +0300 |
commit | 6927e23f86aa9adaaf1d16d3b34dd62671644453 (patch) | |
tree | 70c19e39df853d2aeb410702b7399455f3034c38 /platform/location.hpp | |
parent | 087e13038e7a2237142b83c84392976ce0150fb6 (diff) |
Turn voice notification. C++ part.
Diffstat (limited to 'platform/location.hpp')
-rw-r--r-- | platform/location.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/platform/location.hpp b/platform/location.hpp index 28bc74b369..cd1a92c2a6 100644 --- a/platform/location.hpp +++ b/platform/location.hpp @@ -3,6 +3,7 @@ #include "base/base.hpp" #include "routing/turns.hpp" +#include "routing/turns_sound_settings.hpp" #include "std/cmath.hpp" #include "std/string.hpp" @@ -128,7 +129,12 @@ namespace location int m_time; // m_lanes contains lane information on the edge before the turn. vector<SingleLaneInfoClient> m_lanes; - // The next street name + // m_turnNotifications contains information about the next turn notifications. + // If there is nothing to pronounce m_turnNotifications is empty. + // If there is something to pronounce the size of m_turnNotifications may be one or even more + // depends on the number of notifications to prononce. + vector<routing::turns::sound::Notifications> m_turnNotifications; + // The next street name. string m_targetName; bool IsValid() const { return !m_distToTarget.empty(); } |