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:
authorrachytski <siarhei.rachytski@gmail.com>2012-10-12 20:17:41 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:45:23 +0300
commitca29b9e478b433d1a5d1a7a4385410467e97785f (patch)
tree495139e98cfe42412cff7397884061416b9ac957 /platform/location.hpp
parentf81ed7bd00ca324c400288d0a2df86151d9989cc (diff)
refactored Location and Compass observers mechanism.
Diffstat (limited to 'platform/location.hpp')
-rw-r--r--platform/location.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/platform/location.hpp b/platform/location.hpp
index af7ce21189..b6df73b4e7 100644
--- a/platform/location.hpp
+++ b/platform/location.hpp
@@ -9,13 +9,9 @@ namespace location
/// after this period we cont position as "too old"
static double const POSITION_TIMEOUT_SECONDS = 300.0;
- enum TLocationStatus
+ enum TLocationError
{
- EStopped = 0,
- EStarted,
- EFirstEvent, //!< Sent when first valid coorinate is received
- ENotSupported,
- EDisabledByUser
+ EDenied
};
enum TLocationSource