From 6927e23f86aa9adaaf1d16d3b34dd62671644453 Mon Sep 17 00:00:00 2001 From: Vladimir Byko-Ianko Date: Tue, 30 Jun 2015 12:41:54 +0300 Subject: Turn voice notification. C++ part. --- platform/location.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'platform/location.hpp') 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 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 m_turnNotifications; + // The next street name. string m_targetName; bool IsValid() const { return !m_distToTarget.empty(); } -- cgit v1.2.3