20#include <com/sun/star/lang/SystemDependent.hpp>
22#if defined UNX && ! defined MACOSX
23#include <com/sun/star/awt/SystemDependentXWindow.hpp>
30#include <Cocoa/Cocoa.h>
61 if( SystemType == css::lang::SystemDependent::SYSTEM_WIN32 )
63 aRet <<= reinterpret_cast<sal_IntPtr>(pSysData->hWnd);
66 if( SystemType == css::lang::SystemDependent::SYSTEM_MAC )
68 aRet <<= reinterpret_cast<sal_IntPtr>(pSysData->mpNSView);
77 if( SystemType == css::lang::SystemDependent::SYSTEM_XWINDOW )
79 css::awt::SystemDependentXWindow aSD;
80 aSD.DisplayPointer = sal::static_int_cast< sal_Int64 >(
reinterpret_cast< sal_IntPtr
>(pSysData->
pDisplay));
VCLXSystemDependentWindow()
css::uno::Any SAL_CALL getWindowHandle(const css::uno::Sequence< sal_Int8 > &ProcessId, sal_Int16 SystemType) override
virtual ~VCLXSystemDependentWindow() override
reference_type * get() const
sal_uIntPtr GetWindowHandle(const SalFrame *pReference) const