summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorParis Oplopoios <paris.oplopoios@collabora.com>2023-03-02 02:24:59 +0200
committerMiklos Vajna <vmiklos@collabora.com>2023-03-10 08:48:23 +0000
commitc1d6af3e9a8937cef192e2764ad4afb572743d86 (patch)
tree8ced8b9004a737254c178d243822bc8bfd309b16 /include/vcl
parentf5b7967b01e68a16ff2f9bc94afec7d405d03dbd (diff)
sw lok: notify clients about view option changes
Send a string of the view options to the kit when the view changes Change-Id: I89f65ff1d22a83a54dde35e39eb487edda0b58e1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148078 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/ITiledRenderable.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/vcl/ITiledRenderable.hxx b/include/vcl/ITiledRenderable.hxx
index d110e33f7e19..9fa61258fc7a 100644
--- a/include/vcl/ITiledRenderable.hxx
+++ b/include/vcl/ITiledRenderable.hxx
@@ -376,6 +376,12 @@ public:
virtual void getCommandValues(tools::JsonWriter& /*rJsonWriter*/, std::string_view /*rCommand*/)
{
}
+
+ /**
+ * Returns an opaque string reflecting the render state of a component
+ * eg. 'PD' - P for non-printing-characters, D for dark-mode.
+ */
+ virtual OString getViewRenderState() { return rtl::OString(); }
};
} // namespace vcl