diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-06-06 01:28:55 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-06-06 01:55:19 -0400 |
commit | d0c3c24da2506bff1719a276f2eff34589fa7663 (patch) | |
tree | a4b1c4f5acc3662164734d834f92012291bd5173 /framework/inc/dispatch | |
parent | f209a7562e85c6d5dd491c8999e8fc61da18a965 (diff) |
Check if the system window has a close handler, and if yes, call it.
This allows the close event in the preview window to be handled in a
custom fashion, instead of having it call the normal "close window"
command.
Change-Id: Id324c4f5c96d0222bf82caa8029aa1c724262c32
Diffstat (limited to 'framework/inc/dispatch')
-rw-r--r-- | framework/inc/dispatch/closedispatcher.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/inc/dispatch/closedispatcher.hxx b/framework/inc/dispatch/closedispatcher.hxx index eabad8c7c56e..9ec937c6ab91 100644 --- a/framework/inc/dispatch/closedispatcher.hxx +++ b/framework/inc/dispatch/closedispatcher.hxx @@ -60,6 +60,8 @@ //_______________________________________________ // namespace +class SystemWindow; + namespace framework{ //----------------------------------------------- @@ -135,6 +137,8 @@ class CloseDispatcher : public css::lang::XTypeProvider /** @short holded alive for internaly asynchronous operations! */ css::uno::Reference< css::frame::XDispatchResultListener > m_xResultListener; + SystemWindow* m_pSysWindow; + //------------------------------------------- // native interface |