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:
authorSergey Pisarchik <pisarchik@mapswithme.com>2014-05-09 11:09:31 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:15:23 +0300
commita29feb454b74a0bfe89c17aba990eeb9f21ee6f9 (patch)
treeeb342e31633be1acbdc6d0e1d9e02c62f909ece5 /platform
parentabb43bd61afa3d374fe159e498f672aa57998dd2 (diff)
[Tizen] Add GPS location
Diffstat (limited to 'platform')
-rw-r--r--platform/location.hpp3
-rw-r--r--platform/platform_tizen.cpp3
2 files changed, 5 insertions, 1 deletions
diff --git a/platform/location.hpp b/platform/location.hpp
index 814ebf87ef..16da6a0e49 100644
--- a/platform/location.hpp
+++ b/platform/location.hpp
@@ -20,7 +20,8 @@ namespace location
EAppleNative,
EWindowsNative,
EAndroidNative,
- EGoogle
+ EGoogle,
+ ETizen
};
/// Our structure ALWAYS has valid lat, lon and horizontal accuracy.
diff --git a/platform/platform_tizen.cpp b/platform/platform_tizen.cpp
index 694843fb4b..e70c619eb5 100644
--- a/platform/platform_tizen.cpp
+++ b/platform/platform_tizen.cpp
@@ -38,6 +38,9 @@ Platform::Platform()
LOG(LDEBUG, ("Tmp directory:", m_tmpDir));
LOG(LDEBUG, ("Settings directory:", m_settingsDir));
LOG(LDEBUG, ("Client ID:", UniqueClientId()));
+
+ m_flags[HAS_BOOKMARKS] = true;
+ m_flags[HAS_ROTATION] = true;
}
int Platform::CpuCores() const