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

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

+ Inheritance diagram for IDataPackage:
+ Collaboration diagram for IDataPackage:

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
 
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 Member Functions

 IDataPackage ()
 

Detailed Description

interface for drag&drop and clipboard data

Member Enumeration Documentation

enum Type
Enumerator
kFilePath 

File type (UTF-8 C-String)

kText 

Text type (UTF-8 C-String)

kBinary 

Binary type.

kError 

Constructor & Destructor Documentation

IDataPackage ( )
inlineprotected

Member Function Documentation

virtual void forget ( )
inlinevirtualinherited

decrease refcount and delete object if refcount == 0

virtual int32_t getCount ( )
pure virtual

Implemented in CDropSource.

+ Here is the caller graph for this function:

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

Implemented in CDropSource.

+ Here is the caller graph for this function:

virtual int32_t getDataSize ( int32_t  index)
pure virtual

Implemented in CDropSource.

virtual Type getDataType ( int32_t  index)
pure virtual

Implemented in CDropSource.

+ Here is the caller graph for this function:

virtual int32_t getNbReference ( ) const
inlinevirtualinherited

get refcount

virtual bool isTypeOf ( IdStringPtr  s) const
inlinevirtual

Reimplemented in CDropSource.

virtual CBaseObject* newCopy ( ) const
inlinevirtual

Reimplemented in CDropSource.

virtual void remember ( )
inlinevirtualinherited

increase refcount

+ Here is the caller graph for this function:


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