changed drag source listener concept
This commit is contained in:
parent
a2ecdee3b8
commit
9efeef907f
2 changed files with 12 additions and 22 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: DragSourceEvent.idl,v $
|
||||
*
|
||||
* $Revision: 1.1 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
* last change: $Author: obr $ $Date: 2001-01-26 11:27:46 $
|
||||
* last change: $Author: obr $ $Date: 2001-01-29 10:38:15 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -70,6 +70,7 @@
|
|||
|
||||
module com { module sun { module star { module datatransfer { module dnd {
|
||||
|
||||
interface XDragSource;
|
||||
interface XDragSourceContext;
|
||||
|
||||
//=============================================================================
|
||||
|
@ -85,7 +86,14 @@ struct DragSourceEvent: com::sun::star::lang::EventObject
|
|||
//-------------------------------------------------------------------------
|
||||
/** the DragSourceContext of the current drag operation.
|
||||
*/
|
||||
|
||||
XDragSourceContext DragSourceContext;
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
/** the DragSource on which the drag and drop operation was initiated.
|
||||
*/
|
||||
|
||||
XDragSource DragSource;
|
||||
};
|
||||
|
||||
//=============================================================================
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: XDragSourceContext.idl,v $
|
||||
*
|
||||
* $Revision: 1.1 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
* last change: $Author: obr $ $Date: 2001-01-26 11:27:47 $
|
||||
* last change: $Author: obr $ $Date: 2001-01-29 10:38:15 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -89,24 +89,6 @@ interface XDragSourceListener;
|
|||
[ uik(E6EFFA63-B551-11d4-82C90050-04D765F1), ident("XDragSourceContext", 0.1) ]
|
||||
interface XDragSourceContext: com::sun::star::uno::XInterface
|
||||
{
|
||||
//-------------------------------------------------------------------------
|
||||
/** registers a new DragSourceListener.
|
||||
|
||||
@param dsl
|
||||
the DragSourceListener to register with this DragSourceContext.
|
||||
*/
|
||||
|
||||
[oneway] void addDragSourceListener( [in] XDragSourceListener dsl );
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
/** unregisters the specified DragSourceListener.
|
||||
|
||||
@param dsl
|
||||
the DragSourceListener to register with this DragSourceContext.
|
||||
*/
|
||||
|
||||
[oneway] void removeDragSourceListener( [in] XDragSourceListener dsl );
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
/** @returns the currently selected drag cursor.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue