summaryrefslogtreecommitdiff
path: root/vcl/source/window/dndevdis.hxx
diff options
context:
space:
mode:
authorOliver Braun <obr@openoffice.org>2002-04-30 12:27:16 +0000
committerOliver Braun <obr@openoffice.org>2002-04-30 12:27:16 +0000
commit9d5a44dbdc02aec4eee22086b1856281fd6ca038 (patch)
tree46fefc614fd91d6cfdf3d8057060b3d17c6bdb01 /vcl/source/window/dndevdis.hxx
parent605d75eb1925d00fe1e3117ce12d2e9d9494437c (diff)
#99036# now implementing XDragGestureListener
Diffstat (limited to 'vcl/source/window/dndevdis.hxx')
-rw-r--r--vcl/source/window/dndevdis.hxx27
1 files changed, 21 insertions, 6 deletions
diff --git a/vcl/source/window/dndevdis.hxx b/vcl/source/window/dndevdis.hxx
index 61d81b4c9ca6..deafd653ed37 100644
--- a/vcl/source/window/dndevdis.hxx
+++ b/vcl/source/window/dndevdis.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dndevdis.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: obr $ $Date: 2001-02-13 13:12:53 $
+ * last change: $Author: obr $ $Date: 2002-04-30 13:27:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -70,17 +70,22 @@
#include <com/sun/star/datatransfer/dnd/XDropTargetDragContext.hpp>
#endif
-#ifndef _CPPUHELPER_IMPLBASE2_HXX_
-#include <cppuhelper/implbase2.hxx>
+#ifndef _COM_SUN_STAR_DATATRANSFER_DND_XDRAGESTURERECOGNIZER_HPP_
+#include <com/sun/star/datatransfer/dnd/XDragGestureRecognizer.hpp>
+#endif
+
+#ifndef _CPPUHELPER_IMPLBASE3_HXX_
+#include <cppuhelper/implbase3.hxx>
#endif
#ifndef _SV_WINDOW_HXX
#include <window.hxx>
#endif
-class DNDEventDispatcher: public ::cppu::WeakImplHelper2<
+class DNDEventDispatcher: public ::cppu::WeakImplHelper3<
::com::sun::star::datatransfer::dnd::XDropTargetListener,
- ::com::sun::star::datatransfer::dnd::XDropTargetDragContext >
+ ::com::sun::star::datatransfer::dnd::XDropTargetDragContext,
+ ::com::sun::star::datatransfer::dnd::XDragGestureListener >
{
Window * m_pTopWindow;
Window * m_pCurrentWindow;
@@ -108,6 +113,9 @@ class DNDEventDispatcher: public ::cppu::WeakImplHelper2<
const sal_Int8 nDropAction, const Point& rLocation, const sal_Int8 nSourceAction,
const ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::XTransferable >& xTransferable ) throw(::com::sun::star::uno::RuntimeException);
+ sal_Int32 fireDragGestureEvent( Window *pWindow, const ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::dnd::XDragSource >& xSource,
+ const ::com::sun::star::uno::Any event, const Point& rOrigin, const sal_Int8 nDragAction )throw(::com::sun::star::uno::RuntimeException);
+
public:
DNDEventDispatcher( Window * pTopWindow );
@@ -131,6 +139,13 @@ public:
virtual void SAL_CALL dropActionChanged( const ::com::sun::star::datatransfer::dnd::DropTargetDragEvent& dtde ) throw(::com::sun::star::uno::RuntimeException);
/*
+ * XDragGestureListener
+ */
+
+ virtual void SAL_CALL dragGestureRecognized( const ::com::sun::star::datatransfer::dnd::DragGestureEvent& dge ) throw(::com::sun::star::uno::RuntimeException);
+
+
+ /*
* XEventListener
*/