diff options
author | vng <viktor.govako@gmail.com> | 2012-07-09 22:48:08 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:40:49 +0300 |
commit | 6347a629357622082a9028a30840cf591761139a (patch) | |
tree | 6a291763179bf0cfbfa306de1add6e750c5f022f /platform/platform_qt.cpp | |
parent | dac15d8d8634a10da66569917c348bf6ede47ecf (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.cpp | 11 |
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; } |