diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2022-07-27 14:02:48 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2022-07-28 14:49:19 +0200 |
commit | a71a5cdb972174cb7c33e67927cd519152fd3cf6 (patch) | |
tree | 2e6630ac29b4d75469fdf4cb64e7475ff47dc747 /include/vcl/lok.hxx | |
parent | 2b0626e2e9d112280e9d9a296cc7d7ba3022bdc9 (diff) |
lok: add dumpState feature for better in-field diagnostics.
Always suspicious that some un-expected dialog / state can cause
strange behavior in a client. An initial cut at an API to make it
easier to unwind such problems by exposing the toolkit state.
Change-Id: If8f17943fa4837df4f9ca659a111dcdce5c23244
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137504
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'include/vcl/lok.hxx')
-rw-r--r-- | include/vcl/lok.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/lok.hxx b/include/vcl/lok.hxx index 108f46def8aa..31a4cf1ec494 100644 --- a/include/vcl/lok.hxx +++ b/include/vcl/lok.hxx @@ -12,6 +12,7 @@ #include <sal/config.h> #include <vcl/dllapi.h> +#include <rtl/strbuf.hxx> #include <LibreOfficeKit/LibreOfficeKitTypes.h> namespace vcl::lok @@ -24,6 +25,8 @@ void VCL_DLLPUBLIC unregisterPollCallbacks(); // Called to tell VCL that the number of document views has changed, so that VCL // can adjust e.g. sizes of bitmap caches to scale well with larger number of users. void VCL_DLLPUBLIC numberOfViewsChanged(int count); + +void VCL_DLLPUBLIC dumpState(rtl::OStringBuffer& rState); } #endif // INCLUDE_VCL_LOK_HXX |