interface for drag&drop and clipboard data More...


Public Types | |
| enum | Type { kFilePath = 0, kText, kBinary, kError = -1 } |
Public Member Functions | |
| virtual int32_t | getCount ()=0 |
| virtual int32_t | getDataSize (int32_t index)=0 |
| virtual Type | getDataType (int32_t index)=0 |
| virtual int32_t | getData (int32_t index, const void *&buffer, Type &type)=0 |
Reference Counting Methods | |
| virtual void | forget () |
| decrease refcount and delete object if refcount == 0 | |
| virtual void | remember () |
| increase refcount | |
| virtual int32_t | getNbReference () const |
| get refcount | |
Message Methods | |
| virtual CMessageResult | notify (CBaseObject *sender, IdStringPtr message) |
Protected Member Functions | |
| IDataPackage () | |
interface for drag&drop and clipboard data
| enum Type |
| IDataPackage | ( | ) | [inline, protected] |
| virtual void forget | ( | ) | [inline, virtual, inherited] |
decrease refcount and delete object if refcount == 0
| virtual int32_t getCount | ( | ) | [pure virtual] |
Implemented in CDropSource.
| virtual int32_t getData | ( | int32_t | index, | |
| const void *& | buffer, | |||
| Type & | type | |||
| ) | [pure virtual] |
Implemented in CDropSource.
| virtual int32_t getDataSize | ( | int32_t | index | ) | [pure virtual] |
Implemented in CDropSource.
| virtual Type getDataType | ( | int32_t | index | ) | [pure virtual] |
Implemented in CDropSource.
| virtual int32_t getNbReference | ( | ) | const [inline, virtual, inherited] |
get refcount
| virtual CMessageResult notify | ( | CBaseObject * | sender, | |
| IdStringPtr | message | |||
| ) | [inline, virtual, inherited] |
| virtual void remember | ( | ) | [inline, virtual, inherited] |
increase refcount
1.6.1