diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-06-26 17:15:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-06-26 21:37:31 +0200 |
commit | 1ef15ad4b5d43ee338909b818b00a468bbc44234 (patch) | |
tree | 3b1523fe91303422f771e39abc8fa007ae092792 /include/editeng | |
parent | 8e5982d799e23bee86404f3ccb3aaed524ae9675 (diff) |
allow welded drag and drop into editview
Change-Id: Ia03083b0507ef969300316034cde9bbcf5963b9a
Reviewed-on: https://gerrit.libreoffice.org/74746
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/editview.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx index 32799f1ebdf2..15ac187cdfa5 100644 --- a/include/editeng/editview.hxx +++ b/include/editeng/editview.hxx @@ -62,6 +62,9 @@ namespace sun { namespace star { namespace datatransfer { class XTransferable; + namespace dnd { + class XDropTarget; + } } namespace linguistic2 { class XSpellChecker1; @@ -101,6 +104,12 @@ public: // return the OutputDevice that the EditView will draw to virtual OutputDevice& EditViewOutputDevice() const = 0; + + // implemented if drag and drop support is wanted + virtual css::uno::Reference<css::datatransfer::dnd::XDropTarget> GetDropTarget() const + { + return nullptr; + } }; class EDITENG_DLLPUBLIC EditView final |