VSTGUI  4.3
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, uint32_t bufferSize, Type type)
 
bool add (const void *buffer, uint32_t bufferSize, Type type)
 
virtual uint32_t getCount () const
 
virtual uint32_t getDataSize (uint32_t index) const
 
virtual Type getDataType (uint32_t index) const
 
virtual uint32_t getData (uint32_t index, const void *&buffer, Type &type) const
 
int32_t getEntrySize (int32_t index) const
 
Type getEntryType (int32_t index) const
 
int32_t getEntry (int32_t index, const void *&buffer, Type &type) const
 
virtual bool isTypeOf (IdStringPtr s) const
 
virtual CBaseObjectnewCopy () const
 
virtual void beforeDelete ()
 
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 Types

typedef std::vector< CDropEntry > DropEntryVector
 

Protected Attributes

DropEntryVector entries
 

Detailed Description

drop source

Member Typedef Documentation

typedef std::vector<CDropEntry> DropEntryVector
protected

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,
uint32_t  bufferSize,
Type  type 
)

+ Here is the call graph for this function:

Member Function Documentation

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

+ Here is the caller graph for this function:

virtual void beforeDelete ( )
inlinevirtualinherited

Reimplemented in CView.

+ Here is the caller graph for this function:

virtual void forget ( )
inlinevirtualinherited

decrease refcount and delete object if refcount == 0

+ Here is the call graph for this function:

uint32_t getCount ( ) const
virtual

Implements IDataPackage.

+ Here is the caller graph for this function:

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

Implements IDataPackage.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uint32_t getDataSize ( uint32_t  index) const
virtual

Implements IDataPackage.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

CDropSource::Type getDataType ( uint32_t  index) const
virtual

Implements IDataPackage.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

+ Here is the call graph for this function:

int32_t getEntrySize ( int32_t  index) const
Deprecated:

+ Here is the call graph for this function:

CDropSource::Type getEntryType ( int32_t  index) const
Deprecated:

+ Here is the call 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

DropEntryVector entries
protected

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