diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2019-05-29 23:33:25 -0400 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2019-12-18 01:50:41 +0100 |
commit | c2f8929ed76085bc81f390f90e06bd6781206537 (patch) | |
tree | 57861cb7462411f16a4eff3705616e23d97846df /include/vcl | |
parent | 9e63d328691014bc97f6b66b708ed9dec53618e6 (diff) |
vcl: sfx2: LOK: Support per-view popup windows
While we do support multiple views, there is only
one state for popup/floating windows, that also
includes the dialogs open and related windows/data.
This adds support to allow each view to have its own
popups and state, thus allowing multiple users to
interact with the dialogs independently of one
another.
(cherry picked from commit b50c341a53911f1d725947a4d8d3d2f782c94079)
Change-Id: I3786a561ca6ca113ad12425bdb491e5a30bd1a28
Reviewed-on: https://gerrit.libreoffice.org/82440
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/85221
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/svapp.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx index 95e46500a899..b36c22ed9de9 100644 --- a/include/vcl/svapp.hxx +++ b/include/vcl/svapp.hxx @@ -1458,6 +1458,12 @@ VCL_DLLPUBLIC ImplSVHelpData* CreateSVHelpData(); VCL_DLLPUBLIC void DestroySVHelpData(ImplSVHelpData*); VCL_DLLPUBLIC void SetSVHelpData(ImplSVHelpData*); +/// The following are to manage per-view (frame) window data. +struct ImplSVWinData; +VCL_DLLPUBLIC ImplSVWinData* CreateSVWinData(); +VCL_DLLPUBLIC void DestroySVWinData(ImplSVWinData*); +VCL_DLLPUBLIC void SetSVWinData(ImplSVWinData*); + inline void Application::EndYield() { PostUserEvent( Link<void*,void>() ); |