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:56:38 -0400 |
commit | ca182b4545239ccf5b0326674fd66891c1ed9f71 (patch) | |
tree | 4e269a3dc32d2c0989482b7a028bf7f93d885d28 /framework/inc | |
parent | 9a2a5319b2ec8b816742b87fcf27bf73351fd01a (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')
-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 |