ASPiK SDK
VSTGUI::IDataPackage Class Referenceabstract

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

#include <idatapackage.h>

Inheritance diagram for VSTGUI::IDataPackage:
VSTGUI::ReferenceCounted< T > VSTGUI::IReference VSTGUI::CDropSource VSTGUI::DataPackage VSTGUI::MacClipboard::Pasteboard

Public Types

enum  Type { kFilePath = 0, kText, kBinary, kError = -1 }
 

Public Member Functions

virtual uint32_t getCount () const =0
 
virtual uint32_t getDataSize (uint32_t index) const =0
 
virtual Type getDataType (uint32_t index) const =0
 
virtual uint32_t getData (uint32_t index, const void *&buffer, Type &type) const =0
 
- Public Member Functions inherited from VSTGUI::ReferenceCounted< T >
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
void forget () override
 decrease refcount and delete object if refcount == 0
 
void remember () override
 increase refcount
 
virtual int32_t getNbReference () const
 get refcount
 
virtual void beforeDelete ()
 

Detailed Description

interface for drag&drop and clipboard data

Member Enumeration Documentation

◆ Type

Enumerator
kFilePath 

File type (UTF-8 C-String)

kText 

Text type (UTF-8 C-String)

kBinary 

Binary type.


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