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
path: root/map
diff options
context:
space:
mode:
authorVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2015-08-04 08:52:54 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:58:56 +0300
commit433ca9945660361c5102e4f81104ddafc962db3c (patch)
treea4be807fbd13b86906b2b948a6ccde4f2dbb0a53 /map
parent49c3195039cfb8d114801f1e654c932169136f3d (diff)
Passing turn sound initialization functions through jni.
Diffstat (limited to 'map')
-rw-r--r--map/framework.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/map/framework.hpp b/map/framework.hpp
index 09395ca77a..0c24dde99c 100644
--- a/map/framework.hpp
+++ b/map/framework.hpp
@@ -576,7 +576,6 @@ public:
void SetLastUsedRouter(routing::RouterType type);
/// Returns the most situable router engine type. Bases on distance and the last used router.
routing::RouterType GetBestRouter(m2::PointD const & startPoint, m2::PointD const & finalPoint) const;
- // @TODO The six methods below has to be called from jni.
// Sound notifications for turn instructions.
inline void EnableTurnNotifications(bool enable) { m_routingSession.EnableTurnNotifications(enable); }
inline bool AreTurnNotificationsEnabled() const { return m_routingSession.AreTurnNotificationsEnabled(); }
@@ -588,8 +587,8 @@ public:
{
return m_routingSession.GetTurnNotificationsUnits();
}
- void SetTurnNotificationsLocale(string const & locale) { m_routingSession.SetTurnNotificationsLocale(locale); }
- string GetTurnNotificationsLocale() const { return m_routingSession.GetTurnNotificationsLocale(); }
+ inline void SetTurnNotificationsLocale(string const & locale) { m_routingSession.SetTurnNotificationsLocale(locale); }
+ inline string GetTurnNotificationsLocale() const { return m_routingSession.GetTurnNotificationsLocale(); }
private:
void SetRouterImpl(routing::RouterType type);