diff options
Diffstat (limited to 'vcl/inc/vcl/syschild.hxx')
-rw-r--r-- | vcl/inc/vcl/syschild.hxx | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/vcl/inc/vcl/syschild.hxx b/vcl/inc/vcl/syschild.hxx index 459f97e68abd..275e41312f17 100644 --- a/vcl/inc/vcl/syschild.hxx +++ b/vcl/inc/vcl/syschild.hxx @@ -44,7 +44,8 @@ class VCL_DLLPUBLIC SystemChildWindow : public Window { private: using Window::ImplInit; - SAL_DLLPRIVATE void ImplInitSysChild( Window* pParent, WinBits nStyle, SystemWindowData *pData, BOOL bShow = FALSE ); + SAL_DLLPRIVATE void ImplInitSysChild( Window* pParent, WinBits nStyle, SystemWindowData *pData, sal_Bool bShow = sal_False ); + SAL_DLLPRIVATE void ImplTestJavaException( void* pEnv ); // Copy assignment is forbidden and not implemented. SAL_DLLPRIVATE SystemChildWindow (const SystemChildWindow &); @@ -53,7 +54,7 @@ private: public: SystemChildWindow( Window* pParent, WinBits nStyle = 0 ); // create a SystemChildWindow using the given SystemWindowData - SystemChildWindow( Window* pParent, WinBits nStyle, SystemWindowData *pData, BOOL bShow = TRUE ); + SystemChildWindow( Window* pParent, WinBits nStyle, SystemWindowData *pData, sal_Bool bShow = sal_True ); SystemChildWindow( Window* pParent, const ResId& rResId ); ~SystemChildWindow(); @@ -61,9 +62,13 @@ public: // per default systemchildwindows erase their background for better plugin support // however, this might not always be required - void EnableEraseBackground( BOOL bEnable = TRUE ); - BOOL IsEraseBackgroundEnabled(); - void SetForwardKey( BOOL bEnable ); + void EnableEraseBackground( sal_Bool bEnable = sal_True ); + sal_Bool IsEraseBackgroundEnabled(); + void SetForwardKey( sal_Bool bEnable ); + // return the platform specific handle/id of this window; + // in case the flag bUseJava is set, a java compatible overlay window + // is created on which other java windows can be created (plugin interface) + sal_IntPtr GetParentWindowHandle( sal_Bool bUseJava = sal_False ); }; #endif // _SV_SYSCHILD_HXX |