summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-05-06 10:03:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-05-06 15:49:45 +0200
commit1ff996e5e720d77ce32b8c44d4c29569ddbc113a (patch)
tree00dbdd6d597d7d67bf40049f58b3acd65f49e599 /include/vcl
parente30b4b641a4828c834e387181c9ea05f9bf6f936 (diff)
add get_clipboard to widget
Change-Id: I9a623e558bc18286af773e0aa3120185a30baa52 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115172 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/weld.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 9821005fb9e6..03ec14dc1a8a 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -34,6 +34,10 @@ namespace com::sun::star::awt
{
class XWindow;
}
+namespace com::sun::star::datatransfer::clipboard
+{
+class XClipboard;
+}
namespace com::sun::star::datatransfer::dnd
{
class XDropTarget;
@@ -333,6 +337,7 @@ public:
virtual void set_background(const Color& rBackColor) = 0;
virtual css::uno::Reference<css::datatransfer::dnd::XDropTarget> get_drop_target() = 0;
+ virtual css::uno::Reference<css::datatransfer::clipboard::XClipboard> get_clipboard() const = 0;
virtual void connect_get_property_tree(const Link<tools::JsonWriter&, void>& rLink) = 0;
virtual void get_property_tree(tools::JsonWriter& rJsonWriter) = 0;