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-06-30 12:41:54 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:54:30 +0300
commit6927e23f86aa9adaaf1d16d3b34dd62671644453 (patch)
tree70c19e39df853d2aeb410702b7399455f3034c38 /platform/location.hpp
parent087e13038e7a2237142b83c84392976ce0150fb6 (diff)
Turn voice notification. C++ part.
Diffstat (limited to 'platform/location.hpp')
-rw-r--r--platform/location.hpp8
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(); }