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/sfx2/lokcallback.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/sfx2/lokcallback.hxx')
-rw-r--r-- | include/sfx2/lokcallback.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sfx2/lokcallback.hxx b/include/sfx2/lokcallback.hxx index 32b6c08f865b..a92f60572145 100644 --- a/include/sfx2/lokcallback.hxx +++ b/include/sfx2/lokcallback.hxx @@ -11,6 +11,10 @@ #include <sal/types.h> +namespace rtl +{ +class OStringBuffer; +} namespace tools { class Rectangle; @@ -46,6 +50,7 @@ public: virtual void libreOfficeKitViewUpdatedCallbackPerViewId(int nType, int nViewId, int nSourceViewId) = 0; + virtual void dumpState(rtl::OStringBuffer& rState) = 0; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |