aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-10-27 09:47:09 -0700
committerMcCabe Maxsted2010-10-27 09:47:09 -0700
commit16921b83bc1f76e8b003647523df84c4e91c15fd (patch)
treeee59fee405297edf899c2ce4eb5f3fb7a081c1cf /linden/indra
parentLoad mime_types_windows.xml instead of mime_types.xml so we can fallback on t... (diff)
parentRemove the need for qglobal.h on non-standalone. (diff)
downloadmeta-impy-16921b83bc1f76e8b003647523df84c4e91c15fd.zip
meta-impy-16921b83bc1f76e8b003647523df84c4e91c15fd.tar.gz
meta-impy-16921b83bc1f76e8b003647523df84c4e91c15fd.tar.bz2
meta-impy-16921b83bc1f76e8b003647523df84c4e91c15fd.tar.xz
Merge remote branch 'origin/webkit_plugins' into webkit_plugins
Diffstat (limited to 'linden/indra')
-rwxr-xr-xlinden/indra/media_plugins/webkit/media_plugin_webkit.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/linden/indra/media_plugins/webkit/media_plugin_webkit.cpp b/linden/indra/media_plugins/webkit/media_plugin_webkit.cpp
index d4c5deb..d01cd9e 100755
--- a/linden/indra/media_plugins/webkit/media_plugin_webkit.cpp
+++ b/linden/indra/media_plugins/webkit/media_plugin_webkit.cpp
@@ -34,7 +34,9 @@
34 */ 34 */
35 35
36#include "llqtwebkit.h" 36#include "llqtwebkit.h"
37#include <qglobal.h> // for Q_INIT_RESOURCE 37#ifdef LL_STANDALONE
38#include <qglobal.h>
39#endif
38 40
39#include "linden_common.h" 41#include "linden_common.h"
40#include "indra_constants.h" // for indra keyboard codes 42#include "indra_constants.h" // for indra keyboard codes
@@ -80,6 +82,16 @@ extern "C" {
80 } 82 }
81#endif 83#endif
82 84
85// We don't provide Qt headers, so define this here for non-standalone.
86#ifndef QT_MANGLE_NAMESPACE
87#define QT_MANGLE_NAMESPACE(name) name
88#endif
89#ifndef Q_INIT_RESOURCE
90#define Q_INIT_RESOURCE(name) \
91 do { extern int QT_MANGLE_NAMESPACE(qInitResources_ ## name) (); \
92 QT_MANGLE_NAMESPACE(qInitResources_ ## name) (); } while (0)
93#endif
94
83//////////////////////////////////////////////////////////////////////////////// 95////////////////////////////////////////////////////////////////////////////////
84// 96//
85class MediaPluginWebKit : 97class MediaPluginWebKit :