CDropSource Class Reference
[Version 4.0]
drop source
More...
List of all members.
Public Types |
enum | Type { kFilePath = 0,
kText,
kBinary,
kError = -1
} |
Public Member Functions |
| CDropSource () |
| CDropSource (const void *buffer, int32_t bufferSize, Type type) |
| ~CDropSource () |
bool | add (const void *buffer, int32_t bufferSize, Type type) |
virtual int32_t | getCount () |
virtual int32_t | getDataSize (int32_t index) |
virtual Type | getDataType (int32_t index) |
virtual int32_t | getData (int32_t index, const void *&buffer, Type &type) |
int32_t | getEntrySize (int32_t index) |
Type | getEntryType (int32_t index) |
int32_t | getEntry (int32_t index, const void *&buffer, Type &type) |
|
|
virtual void | forget () |
| decrease refcount and delete object if refcount == 0
|
virtual void | remember () |
| increase refcount
|
virtual int32_t | getNbReference () const |
| get refcount
|
|
|
virtual CMessageResult | notify (CBaseObject *sender, IdStringPtr message) |
Protected Attributes |
std::vector< CDropEntry * > | entries |
Detailed Description
drop source
Member Enumeration Documentation
- Enumerator:
kFilePath |
File type (UTF-8 C-String).
|
kText |
Text type (UTF-8 C-String).
|
kBinary |
Binary type.
|
kError |
|
Constructor & Destructor Documentation
Member Function Documentation
bool add |
( |
const void * |
buffer, |
|
|
int32_t |
bufferSize, |
|
|
Type |
type | |
|
) |
| | |
virtual void forget |
( |
|
) |
[inline, virtual, inherited] |
decrease refcount and delete object if refcount == 0
int32_t getCount |
( |
|
) |
[virtual] |
virtual int32_t getData |
( |
int32_t |
index, |
|
|
const void *& |
buffer, |
|
|
Type & |
type | |
|
) |
| | [inline, virtual] |
virtual int32_t getDataSize |
( |
int32_t |
index |
) |
[inline, virtual] |
virtual Type getDataType |
( |
int32_t |
index |
) |
[inline, virtual] |
int32_t getEntry |
( |
int32_t |
index, |
|
|
const void *& |
buffer, |
|
|
Type & |
type | |
|
) |
| | |
int32_t getEntrySize |
( |
int32_t |
index |
) |
|
virtual int32_t getNbReference |
( |
|
) |
const [inline, virtual, inherited] |
virtual void remember |
( |
|
) |
[inline, virtual, inherited] |
Member Data Documentation
std::vector<CDropEntry*> entries [protected] |
The documentation for this class was generated from the following files:
- cdropsource.h
- cdropsource.cpp