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:
authorAlex Zolotarev <deathbaba@gmail.com>2011-12-17 15:17:03 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:30:27 +0300
commitf51fba267963e63b64ca896ff7419f77b0bd7a00 (patch)
treeb47a187006fe82ea0cd9fb8c27efb4640e1eb081 /platform/platform.hpp
parente42ed6bf2a9a2ef98be4b85ab12be01e6b19ef20 (diff)
[ios] Enabled Search button for Full version
@note Added bool Platform::IsFeatureSupported("featureName"); Now it works only for "search" feature
Diffstat (limited to 'platform/platform.hpp')
-rw-r--r--platform/platform.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/platform.hpp b/platform/platform.hpp
index 634f3e8a11..f8f3280ee4 100644
--- a/platform/platform.hpp
+++ b/platform/platform.hpp
@@ -97,6 +97,10 @@ public:
int ScaleEtalonSize() const;
string UniqueClientId() const;
+
+ /// @return true for "search" feature on full ios and desktop versions,
+ /// and false for ios lite version
+ bool IsFeatureSupported(string const & feature) const;
};
extern "C" Platform & GetPlatform();