1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef __com_sun_star_datatransfer_dnd_DropTargetDropEvent_idl__
25#define __com_sun_star_datatransfer_dnd_DropTargetDropEvent_idl__
26
27#ifndef __com_sun_star_datatransfer_dnd_DropTargetEvent_idl__
28#include <com/sun/star/datatransfer/dnd/DropTargetEvent.idl>
29#endif
30
31#ifndef __com_sun_star_datatransfer_XTransferable_idl__
32#include <com/sun/star/datatransfer/XTransferable.idl>
33#endif
34
35//=============================================================================
36
37module com { module sun { module star { module datatransfer { module dnd {
38
39 published interface XDropTargetDropContext;
40
41//=============================================================================
42/** The <type>DropTargetDropEvent</type> is delivered from the drop target to
43	its currently registered drop target listener.
44
45	<p>It contains sufficient information for the originator of the operation to
46	provide appropriate feedback to the end user when the operation completes.</p>
47*/
48
49published struct DropTargetDropEvent: com::sun::star::datatransfer::dnd::DropTargetEvent
50{
51	//-------------------------------------------------------------------------
52	/** The drop target context of the current drag operation.
53
54		@see com::sun::star::datatransfer::dnd::XDropTargetDropContext
55	 */
56
57	XDropTargetDropContext Context;
58
59	//-------------------------------------------------------------------------
60	/** This value represents the action or actions selected by the user at
61		the time of the drop.
62
63		<p>If more than one action is specified, the <type>XDropTargetListener</type>
64		 should raise a dialog to ask the user which action to use.</p>
65
66		 @see com::sun::star::datatransfer::dnd::DNDConstants
67	 */
68
69	byte DropAction;
70
71	//-------------------------------------------------------------------------
72	/** The cursor's current x location within the windows' coordinates.
73	 */
74
75	long LocationX;
76
77	//-------------------------------------------------------------------------
78	/** The cursor's current y location within the windows' coordinates.
79	 */
80
81	long LocationY;
82
83	//-------------------------------------------------------------------------
84	/** This value represents the action or actions supported by the source.
85	 */
86
87	byte SourceActions;
88
89	//-------------------------------------------------------------------------
90	/** The transferable object associated with the drop.
91
92		@see com::sun::star::datatransfer::XTransferable
93	 */
94
95	com::sun::star::datatransfer::XTransferable Transferable;
96};
97
98//=============================================================================
99
100}; }; }; }; };
101
102#endif
103