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:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2016-04-13 14:56:28 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2016-04-13 18:36:17 +0300
commitc1d1942f4d4e182e1c9a388dc1163bf66a354079 (patch)
tree5ab33d3fe0856f1e176ddd18bd3fab8a51b1a943 /platform/location.hpp
parent047ebf3c4a6eb7e0a5f6fcf67389bffa126c02d8 (diff)
Redone my position
Diffstat (limited to 'platform/location.hpp')
-rw-r--r--platform/location.hpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/platform/location.hpp b/platform/location.hpp
index f068b213e7..38b5b4fe66 100644
--- a/platform/location.hpp
+++ b/platform/location.hpp
@@ -232,16 +232,15 @@ namespace location
double GetDistanceFromBegin() const { return m_distanceFromBegin; }
};
- // Do not change the order and values
enum EMyPositionMode
{
- MODE_UNKNOWN_POSITION = 0x0,
- MODE_PENDING_POSITION = 0x1,
- MODE_NOT_FOLLOW = 0x2,
- MODE_FOLLOW = 0x3,
- MODE_ROTATE_AND_FOLLOW = 0x4,
+ PendingPosition = 0,
+ NotFollowNoPosition,
+ NotFollow,
+ Follow,
+ FollowAndRotate
};
- using TMyPositionModeChanged = function<void (location::EMyPositionMode)>;
+ using TMyPositionModeChanged = function<void (location::EMyPositionMode, bool)>;
} // namespace location