summaryrefslogtreecommitdiffstats
path: root/toolkit/source/awt/vclxtopwindow.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-07-15 01:40:22 +0300
committerTor Lillqvist <tml@iki.fi>2011-07-21 14:09:32 +0300
commit7b2d0c9ad2d2d28b898136c3f6bd00cea4da283a (patch)
tree99d8659c4b1c644eaedabc2126793367678b1260 /toolkit/source/awt/vclxtopwindow.cxx
parentcallcatcher: unused ThreadExecutor (diff)
downloadcore-7b2d0c9ad2d2d28b898136c3f6bd00cea4da283a.tar.gz
core-7b2d0c9ad2d2d28b898136c3f6bd00cea4da283a.zip
Make this compile for iOS
I said compile, not work.
Diffstat (limited to 'toolkit/source/awt/vclxtopwindow.cxx')
-rw-r--r--toolkit/source/awt/vclxtopwindow.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolkit/source/awt/vclxtopwindow.cxx b/toolkit/source/awt/vclxtopwindow.cxx
index 8bf3c861c01d..44f8f94cb50c 100644
--- a/toolkit/source/awt/vclxtopwindow.cxx
+++ b/toolkit/source/awt/vclxtopwindow.cxx
@@ -37,6 +37,12 @@
#include "postmac.h"
#endif
+#if defined ( IOS )
+#include "premac.h"
+#include <UIKit/UIKit.h>
+#include "postmac.h"
+#endif
+
#include <vcl/syschild.hxx>
#include <vcl/sysdata.hxx>
#include <cppuhelper/typeprovider.hxx>
@@ -109,6 +115,11 @@ Sequence< Type > VCLXTopWindow_Base::getTypes() throw(RuntimeException)
{
aRet <<= (sal_IntPtr)pSysData->pView;
}
+#elif (defined IOS)
+ if( SystemType == ::com::sun::star::lang::SystemDependent::SYSTEM_IOS )
+ {
+ aRet <<= (sal_IntPtr)pSysData->pView;
+ }
#elif (defined UNX)
if( SystemType == ::com::sun::star::lang::SystemDependent::SYSTEM_XWINDOW )
{