diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-11-13 15:14:15 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:46:51 +0300 |
commit | d83b3d3384389e571445b5e95ee1effe3b0f7604 (patch) | |
tree | bc0e6f00792f247b19d6ec3ff4c306a30185684b /platform | |
parent | d153b65b03307f04ec9054130a1a01e2e73988f6 (diff) |
fixes according to code review.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/platform.hpp | 2 | ||||
-rw-r--r-- | platform/platform_android.cpp | 5 | ||||
-rw-r--r-- | platform/platform_ios.mm | 5 | ||||
-rw-r--r-- | platform/platform_qt.cpp | 5 |
4 files changed, 0 insertions, 17 deletions
diff --git a/platform/platform.hpp b/platform/platform.hpp index 4d38693290..0f2a056535 100644 --- a/platform/platform.hpp +++ b/platform/platform.hpp @@ -128,8 +128,6 @@ public: inline bool IsPro() const { return m_isPro; } - bool DoSupportRotation() const; - /// @return url for clients to download maps //@{ string MetaServerUrl() const; diff --git a/platform/platform_android.cpp b/platform/platform_android.cpp index 0bc21d7021..9ff174079b 100644 --- a/platform/platform_android.cpp +++ b/platform/platform_android.cpp @@ -129,11 +129,6 @@ namespace }; } -bool Platform::DoSupportRotation() const -{ - return IsPro(); -} - void Platform::RunAsync(TFunctor const & fn, Priority p) { UNUSED_VALUE(p); diff --git a/platform/platform_ios.mm b/platform/platform_ios.mm index c859726d7e..5b99e1e161 100644 --- a/platform/platform_ios.mm +++ b/platform/platform_ios.mm @@ -172,11 +172,6 @@ string Platform::UniqueClientId() const return HashUniqueID(GetMacAddress() + GetDeviceUid()); } -bool Platform::DoSupportRotation() const -{ - return true; -} - static void PerformImpl(void * obj) { Platform::TFunctor * f = reinterpret_cast<Platform::TFunctor *>(obj); diff --git a/platform/platform_qt.cpp b/platform/platform_qt.cpp index ec9c67577d..e5bf38d9b7 100644 --- a/platform/platform_qt.cpp +++ b/platform/platform_qt.cpp @@ -67,11 +67,6 @@ int Platform::VideoMemoryLimit() const return 20 * 1024 * 1024; } -bool Platform::DoSupportRotation() const -{ - return IsPro(); -} - /////////////////////////////////////////////////////////////////////////////// extern Platform & GetPlatform() { |