diff options
author | Jan Holesovsky <kendy@collabora.com> | 2017-11-24 10:20:47 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-11-29 10:16:56 +0100 |
commit | ba8154d857aa815ba3c5b52987dc17be6eba7f48 (patch) | |
tree | b1fe470f5123b1a15a4fb128cc706ff197ee3e2a /include/vcl/window.hxx | |
parent | f2b6bffdedb12983d4ca2bab21fb68eeb3c3d08d (diff) |
lokdialog: Move the Notifier down to vcl::Window.
We need to tunnel more than just dialogs, so this is the 1st step to get the
Autofilter popup rendered.
Change-Id: I6523a39ddc7a6eb2a204e48ab364130a5822f548
Diffstat (limited to 'include/vcl/window.hxx')
-rw-r--r-- | include/vcl/window.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 42cbfcc79df9..be9d88d48adc 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -430,6 +430,7 @@ const char* ImplDbgCheckWindow( const void* pObj ); namespace vcl { class Window; } namespace vcl { class Cursor; } +namespace vcl { class ILibreOfficeKitNotifier; } class Dialog; class WindowImpl; class PaintHelper; @@ -488,6 +489,8 @@ public: Color const * pPaintColor = nullptr); }; +typedef sal_uInt32 LOKWindowId; + class VCL_DLLPUBLIC Window : public ::OutputDevice { friend class ::vcl::Cursor; @@ -1200,6 +1203,11 @@ public: void SetComponentInterface( css::uno::Reference< css::awt::XWindowPeer > const & xIFace ); + /// Interface to register for dialog tunneling. + void SetLOKNotifier(const vcl::ILibreOfficeKitNotifier* pNotifier); + const vcl::ILibreOfficeKitNotifier* GetLOKNotifier() const; + vcl::LOKWindowId GetLOKWindowId() const; + /** @name Accessibility */ ///@{ |