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:
authorvng <viktor.govako@gmail.com>2012-07-09 22:48:08 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:40:49 +0300
commit6347a629357622082a9028a30840cf591761139a (patch)
tree6a291763179bf0cfbfa306de1add6e750c5f022f /platform/platform_qt.cpp
parentdac15d8d8634a10da66569917c348bf6ede47ecf (diff)
Add flag for PRO version in Platform. Return meta server url for downloading due to this flag.
Diffstat (limited to 'platform/platform_qt.cpp')
-rw-r--r--platform/platform_qt.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/platform/platform_qt.cpp b/platform/platform_qt.cpp
index fdce4de879..ad93af0019 100644
--- a/platform/platform_qt.cpp
+++ b/platform/platform_qt.cpp
@@ -61,6 +61,15 @@ int Platform::VideoMemoryLimit() const
///////////////////////////////////////////////////////////////////////////////
extern "C" Platform & GetPlatform()
{
- static Platform platform;
+ class PlatformQt : public Platform
+ {
+ public:
+ PlatformQt()
+ {
+ m_isPro = true;
+ }
+ };
+
+ static PlatformQt platform;
return platform;
}