From 6347a629357622082a9028a30840cf591761139a Mon Sep 17 00:00:00 2001 From: vng Date: Mon, 9 Jul 2012 11:48:08 -0700 Subject: Add flag for PRO version in Platform. Return meta server url for downloading due to this flag. --- platform/platform_qt.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'platform/platform_qt.cpp') 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; } -- cgit v1.2.3