20#ifndef INCLUDED_VCL_DNDHELP_HXX
21#define INCLUDED_VCL_DNDHELP_HXX
25#include <com/sun/star/datatransfer/dnd/XDragGestureListener.hpp>
26#include <com/sun/star/datatransfer/dnd/XDragSourceListener.hpp>
27#include <com/sun/star/datatransfer/dnd/XDropTargetListener.hpp>
30 struct DragGestureEvent;
31 struct DragSourceDragEvent;
32 struct DragSourceDropEvent;
33 struct DragSourceEvent;
34 struct DropTargetDragEvent;
35 struct DropTargetDragEnterEvent;
36 struct DropTargetDropEvent;
37 struct DropTargetEvent;
50 virtual void dragGestureRecognized(
const css::datatransfer::dnd::DragGestureEvent& dge );
54 virtual void dragDropEnd(
const css::datatransfer::dnd::DragSourceDropEvent& dsde );
58 virtual void drop(
const css::datatransfer::dnd::DropTargetDropEvent& dtde );
60 virtual void dragEnter(
const css::datatransfer::dnd::DropTargetDragEnterEvent& dtdee );
62 virtual void dragExit(
const css::datatransfer::dnd::DropTargetEvent& dte );
64 virtual void dragOver(
const css::datatransfer::dnd::DropTargetDragEvent& dtde );
68 public css::datatransfer::dnd::XDragGestureListener,
69 public css::datatransfer::dnd::XDragSourceListener,
70 public css::datatransfer::dnd::XDropTargetListener,
81 css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type & rType )
override;
82 void SAL_CALL
acquire() noexcept
override { OWeakObject::acquire(); }
83 void SAL_CALL
release() noexcept
override { OWeakObject::release(); }
86 void SAL_CALL
disposing(
const css::lang::EventObject& Source )
override;
92 void SAL_CALL
dragDropEnd(
const css::datatransfer::dnd::DragSourceDropEvent& dsde )
override;
93 void SAL_CALL
dragEnter(
const css::datatransfer::dnd::DragSourceDragEvent& dsde )
override;
94 void SAL_CALL
dragExit(
const css::datatransfer::dnd::DragSourceEvent& dse )
override;
95 void SAL_CALL
dragOver(
const css::datatransfer::dnd::DragSourceDragEvent& dsde )
override;
96 void SAL_CALL
dropActionChanged(
const css::datatransfer::dnd::DragSourceDragEvent& dsde )
override;
99 void SAL_CALL
drop(
const css::datatransfer::dnd::DropTargetDropEvent& dtde )
override;
100 void SAL_CALL
dragEnter(
const css::datatransfer::dnd::DropTargetDragEnterEvent& dtdee )
override;
101 void SAL_CALL
dragExit(
const css::datatransfer::dnd::DropTargetEvent& dte )
override;
102 void SAL_CALL
dragOver(
const css::datatransfer::dnd::DropTargetDragEvent& dtde )
override;
103 void SAL_CALL
dropActionChanged(
const css::datatransfer::dnd::DropTargetDragEvent& dtde )
override;
void SAL_CALL dropActionChanged(const css::datatransfer::dnd::DragSourceDragEvent &dsde) override
void SAL_CALL acquire() noexcept override
void SAL_CALL drop(const css::datatransfer::dnd::DropTargetDropEvent &dtde) override
virtual ~DragAndDropWrapper() override
VCL_DLLPUBLIC DragAndDropWrapper(DragAndDropClient *pClient)
css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
void SAL_CALL dragOver(const css::datatransfer::dnd::DragSourceDragEvent &dsde) override
DragAndDropClient * mpClient
void SAL_CALL dragGestureRecognized(const css::datatransfer::dnd::DragGestureEvent &dge) override
void SAL_CALL dragDropEnd(const css::datatransfer::dnd::DragSourceDropEvent &dsde) override
void SAL_CALL disposing(const css::lang::EventObject &Source) override
void SAL_CALL dragEnter(const css::datatransfer::dnd::DragSourceDragEvent &dsde) override
void SAL_CALL release() noexcept override
void SAL_CALL dragExit(const css::datatransfer::dnd::DragSourceEvent &dse) override