diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-09-17 10:58:56 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-06 16:26:53 +0200 |
commit | 7755b08d465d63503f2883de52e01b55c3189079 (patch) | |
tree | d43bf59463d9d73bfa7de42c490401ac87b70dd5 /sfx2/source/view/viewimp.hxx | |
parent | dbf5c74789c580ec60ef7545da4c8d9589d0a4db (diff) |
sfx2: add SfxViewShell::libreOfficeKitViewCallback()
This is similar to the existing LOK callback, the difference is that the
existing one assumes there is only one SfxViewShell instance at the same
time.
This newer callback is precisely per-view, so model notifications can
invoke all view callbacks, while view notifications can invoke only the
callback of the relevant view.
This is just the framework, all actual client code has to be still
ported over (and then the existing callback can be removed).
(cherry picked from commit c74ccac7cd94eba052d21cf74e03e214d58942e4)
Conflicts:
sfx2/source/view/viewimp.hxx
Change-Id: I3d8f27740c69fcf6ffbbdce12db2ea088321493d
Diffstat (limited to 'sfx2/source/view/viewimp.hxx')
-rw-r--r-- | sfx2/source/view/viewimp.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/source/view/viewimp.hxx b/sfx2/source/view/viewimp.hxx index 43b25d045eca..2d2ddf3f3cd1 100644 --- a/sfx2/source/view/viewimp.hxx +++ b/sfx2/source/view/viewimp.hxx @@ -65,6 +65,9 @@ struct SfxViewShell_Impl mutable SfxInPlaceClientList* mpIPClientList; + LibreOfficeKitCallback m_pLibreOfficeKitViewCallback; + void* m_pLibreOfficeKitViewData; + SfxViewShell_Impl(SfxViewShellFlags const nFlags); ~SfxViewShell_Impl(); |