diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-07-15 01:40:22 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-07-21 14:09:32 +0300 |
commit | 7b2d0c9ad2d2d28b898136c3f6bd00cea4da283a (patch) | |
tree | 99d8659c4b1c644eaedabc2126793367678b1260 /toolkit/source/awt/vclxtopwindow.cxx | |
parent | callcatcher: unused ThreadExecutor (diff) | |
download | core-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.cxx | 11 |
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 ) { |