ASPiK SDK
idatapackage.h
1 // This file is part of VSTGUI. It is subject to the license terms
2 // in the LICENSE file found in the top-level directory of this
3 // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
4 
5 #ifndef __idatapackage__
6 #define __idatapackage__
7 
8 #include "vstguibase.h"
9 
10 namespace VSTGUI {
11 
12 //-----------------------------------------------------------------------------
14 //-----------------------------------------------------------------------------
16 {
17 public:
18  enum Type {
19  kFilePath = 0,
22 
23  kError = -1
24  };
25 
26  virtual uint32_t getCount () const = 0;
27  virtual uint32_t getDataSize (uint32_t index) const = 0;
28  virtual Type getDataType (uint32_t index) const = 0;
29  virtual uint32_t getData (uint32_t index, const void*& buffer, Type& type) const = 0;
30 
31 protected:
32  IDataPackage () {}
33 };
34 
35 }
36 
37 #endif // __idatapackage__
Type
Definition: idatapackage.h:18
Text type (UTF-8 C-String)
Definition: idatapackage.h:20
Definition: customcontrols.cpp:8
Binary type.
Definition: idatapackage.h:21
File type (UTF-8 C-String)
Definition: idatapackage.h:19
Definition: vstguibase.h:247
interface for drag&drop and clipboard data
Definition: idatapackage.h:15