Public Member Functions | |
Constructor / Destructor | |
CP_DragDrop () | |
Constructor. | |
CP_DragDrop (const CP_DragDrop &inDragDrop) | |
virtual | ~CP_DragDrop () throw () |
Destructor. | |
Getters | |
UInt16 | GetCount () const |
CP_DataStream | GetItem (UInt16 inItemIndex) |
Operators | |
CP_DragDrop & | operator= (const CP_DragDrop &inDragDrop) |
Tracking | |
void | TrackDrag (CP_Event_Base &inEvent) |
Constructor / Destructor | |
CP_DragDrop (DragRef inDragRef) | |
Constructor. | |
Getters | |
DragRef | GetDragRef () const |
ItemReference | GetItemReference (UInt16 inIndex) const |
Flavors | |
void | AddFlavor (FlavorType inFlavor, const void *inData, SInt32 inSize, FlavorFlags inFlags, ItemReference inItem) |
DataStream | |
void | AddDataStream (CP_DataStream &inDataStream) |
Protected Attributes | |
DragRef | fDragRef |
CP_Event_Base | fDragDropEvent |
CP_DataStream_Array * | fDataItems |
|
Constructor.
|
|
Copy constructor.
|
|
Desstructor.
|
|
List of items in the drag. |
|
Returns the number of items contained in this drag.
|
|
Returns the nth item in the drag.
|
|
Assignment operator.
|
|
Handles the tracking of the drag.
|
|
|
|
Returns a MacOS ItemReference for the specified item at the passed in index.
|
|
Add a data flavor to our drag. Use this for adding an item to a single item drag only.
|
|
Adds a CP_DataStream item to the list of items being dragged.
|
|
|
|
MacOS drag reference for this drag. |
|
MacOS CarbonEvent for the drag receive event. |