diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/toolkit/awt/vclxwindow.hxx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/toolkit/awt/vclxwindow.hxx b/include/toolkit/awt/vclxwindow.hxx index 27be3e102d32..3c925a59143b 100644 --- a/include/toolkit/awt/vclxwindow.hxx +++ b/include/toolkit/awt/vclxwindow.hxx @@ -233,6 +233,23 @@ public: virtual css::uno::Reference< css::awt::XStyleSettings > SAL_CALL getStyleSettings() override; }; +class TOOLKIT_DLLPUBLIC VclListenerLock +{ +private: + VCLXWindow* m_pLockWindow; + +public: + explicit VclListenerLock(VCLXWindow* _pLockWindow); + /** + * @param bSystemWindow - if pVclWindow or its first system window parent + * is locked. + */ + explicit VclListenerLock(vcl::Window* pVclWindow, bool bSystemWindow); + ~VclListenerLock(); + VclListenerLock(const VclListenerLock&) = delete; + VclListenerLock& operator=(const VclListenerLock&) = delete; +}; + #endif // INCLUDED_TOOLKIT_AWT_VCLXWINDOW_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |