VSTGUI  4.2
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
CDropSource Class Reference

drop source More...

+ Inheritance diagram for CDropSource:
+ Collaboration diagram for CDropSource:

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 bool isTypeOf (IdStringPtr s) const
 
virtual CBaseObjectnewCopy () const
 
Reference Counting Methods
virtual void forget ()
 decrease refcount and delete object if refcount == 0 More...
 
virtual void remember ()
 increase refcount More...
 
virtual int32_t getNbReference () const
 get refcount More...
 
Message Methods
virtual CMessageResult notify (CBaseObject *sender, IdStringPtr message)
 

Protected Attributes

std::vector< CDropEntry * > entries
 

Detailed Description

drop source

Member Enumeration Documentation

enum Type
inherited
Enumerator
kFilePath 

File type (UTF-8 C-String)

kText 

Text type (UTF-8 C-String)

kBinary 

Binary type.

kError 

Constructor & Destructor Documentation

CDropSource ( const void *  buffer,
int32_t  bufferSize,
Type  type 
)

+ Here is the call graph for this function:

+ Here is the call graph for this function:

Member Function Documentation

bool add ( const void *  buffer,
int32_t  bufferSize,
Type  type 
)

+ Here is the caller graph for this function:

virtual void forget ( )
inlinevirtualinherited

decrease refcount and delete object if refcount == 0

int32_t getCount ( )
virtual

Implements IDataPackage.

+ Here is the caller graph for this function:

virtual int32_t getData ( int32_t  index,
const void *&  buffer,
Type type 
)
inlinevirtual

Implements IDataPackage.

+ Here is the call graph for this function:

virtual int32_t getDataSize ( int32_t  index)
inlinevirtual

Implements IDataPackage.

+ Here is the call graph for this function:

virtual Type getDataType ( int32_t  index)
inlinevirtual

Implements IDataPackage.

+ Here is the call graph for this function:

int32_t getEntry ( int32_t  index,
const void *&  buffer,
Type type 
)
Deprecated:

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int32_t getEntrySize ( int32_t  index)
Deprecated:

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

CDropSource::Type getEntryType ( int32_t  index)
Deprecated:

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual int32_t getNbReference ( ) const
inlinevirtualinherited

get refcount

virtual bool isTypeOf ( IdStringPtr  s) const
inlinevirtual

Reimplemented from IDataPackage.

virtual CBaseObject* newCopy ( ) const
inlinevirtual

Reimplemented from IDataPackage.

virtual void remember ( )
inlinevirtualinherited

increase refcount

+ Here is the caller graph for this function:

Member Data Documentation

std::vector<CDropEntry*> entries
protected

The documentation for this class was generated from the following files: