Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
7b2d0c9a
Kaydet (Commit)
7b2d0c9a
authored
Tem 14, 2011
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make this compile for iOS
I said compile, not work.
üst
cba97d1d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
44 additions
and
0 deletions
+44
-0
Library_tk.mk
toolkit/Library_tk.mk
+5
-0
vclxsystemdependentwindow.cxx
toolkit/source/awt/vclxsystemdependentwindow.cxx
+11
-0
vclxtoolkit.cxx
toolkit/source/awt/vclxtoolkit.cxx
+11
-0
vclxtopwindow.cxx
toolkit/source/awt/vclxtopwindow.cxx
+11
-0
vclxwindow1.cxx
toolkit/source/awt/vclxwindow1.cxx
+6
-0
No files found.
toolkit/Library_tk.mk
Dosyayı görüntüle @
7b2d0c9a
...
...
@@ -167,6 +167,11 @@ $(eval $(call gb_Library_set_cxxflags,tk,\
$$(CXXFLAGS) $(gb_OBJCXXFLAGS)))
endif
ifeq ($(GUIBASE),cocoatouch)
$(eval $(call gb_Library_set_cxxflags,tk,\
$$(CXXFLAGS) $(gb_OBJCXXFLAGS)))
endif
ifneq (,$(filter LINUX DRAGONFLY OPENBSD FREEBSD NETBSD, $(OS)))
$(eval $(call gb_Library_add_linked_libs,tk,\
X11 \
...
...
toolkit/source/awt/vclxsystemdependentwindow.cxx
Dosyayı görüntüle @
7b2d0c9a
...
...
@@ -46,6 +46,12 @@
#include "postmac.h"
#endif
#ifdef IOS
#include "premac.h"
#include <UIKit/UIKit.h>
#include "postmac.h"
#endif
#include <vcl/svapp.hxx>
#include <vcl/syschild.hxx>
#include <vcl/sysdata.hxx>
...
...
@@ -97,6 +103,11 @@ IMPL_XTYPEPROVIDER_END
{
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
)
{
...
...
toolkit/source/awt/vclxtoolkit.cxx
Dosyayı görüntüle @
7b2d0c9a
...
...
@@ -64,6 +64,13 @@
#include <Cocoa/Cocoa.h>
#include "postmac.h"
#endif
#ifdef IOS
#include "premac.h"
#include <UIKit/UIKit.h>
#include "postmac.h"
#endif
#include <vcl/sysdata.hxx>
#include <toolkit/awt/vclxwindows.hxx>
...
...
@@ -982,6 +989,8 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp,
aParentData
.
nSize
=
sizeof
(
aParentData
);
#if defined QUARTZ
aParentData
.
pView
=
reinterpret_cast
<
NSView
*>
(
nWindowHandle
);
#elif defined IOS
aParentData
.
pView
=
reinterpret_cast
<
UIView
*>
(
nWindowHandle
);
#elif defined UNX
aParentData
.
aWindow
=
nWindowHandle
;
aParentData
.
bXEmbedSupport
=
bXEmbed
;
...
...
@@ -1206,6 +1215,8 @@ css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::ImplCreateWindow(
aParentData
.
nSize
=
sizeof
(
aParentData
);
#if defined QUARTZ
aParentData
.
pView
=
reinterpret_cast
<
NSView
*>
(
nWindowHandle
);
#elif defined IOS
aParentData
.
pView
=
reinterpret_cast
<
UIView
*>
(
nWindowHandle
);
#elif defined UNX
aParentData
.
aWindow
=
nWindowHandle
;
aParentData
.
bXEmbedSupport
=
bXEmbed
;
...
...
toolkit/source/awt/vclxtopwindow.cxx
Dosyayı görüntüle @
7b2d0c9a
...
...
@@ -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
)
{
...
...
toolkit/source/awt/vclxwindow1.cxx
Dosyayı görüntüle @
7b2d0c9a
...
...
@@ -43,6 +43,10 @@
#include "premac.h"
#include <Cocoa/Cocoa.h>
#include "postmac.h"
#elif defined ( IOS )
#include "premac.h"
#include <UIKit/UIKit.h>
#include "postmac.h"
#endif
#include <vcl/sysdata.hxx>
...
...
@@ -96,6 +100,8 @@ void VCLXWindow::SetSystemParent_Impl( const com::sun::star::uno::Any& rHandle )
aSysParentData
.
hWnd
=
(
HWND
)
nHandle
;
#elif defined( QUARTZ )
aSysParentData
.
pView
=
reinterpret_cast
<
NSView
*>
(
nHandle
);
#elif defined( IOS )
aSysParentData
.
pView
=
reinterpret_cast
<
UIView
*>
(
nHandle
);
#elif defined( UNX )
aSysParentData
.
aWindow
=
(
long
)
nHandle
;
aSysParentData
.
bXEmbedSupport
=
bXEmbed
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment