LMMS
Loading...
Searching...
No Matches
ivstattributes.h
Go to the documentation of this file.
1//------------------------------------------------------------------------
2// Project : VST SDK
3//
4// Category : Interfaces
5// Filename : pluginterfaces/vst/ivstattributes.h
6// Created by : Steinberg, 05/2006
7// Description : VST Attribute Interfaces
8//
9//-----------------------------------------------------------------------------
10// This file is part of a Steinberg SDK. It is subject to the license terms
11// in the LICENSE file found in the top-level directory of this distribution
12// and at www.steinberg.net/sdklicenses.
13// No part of the SDK, including this file, may be copied, modified, propagated,
14// or distributed except according to the terms contained in the LICENSE file.
15//-----------------------------------------------------------------------------
16
17#pragma once
18
21
22//------------------------------------------------------------------------
24//------------------------------------------------------------------------
25
26//------------------------------------------------------------------------
27namespace Steinberg {
28namespace Vst {
29
30//------------------------------------------------------------------------
41{
42public:
43//------------------------------------------------------------------------
44 typedef const char* AttrID;
45
47 virtual tresult PLUGIN_API setInt (AttrID id, int64 value) = 0;
48
50 virtual tresult PLUGIN_API getInt (AttrID id, int64& value) = 0;
51
53 virtual tresult PLUGIN_API setFloat (AttrID id, double value) = 0;
54
56 virtual tresult PLUGIN_API getFloat (AttrID id, double& value) = 0;
57
59 virtual tresult PLUGIN_API setString (AttrID id, const TChar* string) = 0;
60
63 virtual tresult PLUGIN_API getString (AttrID id, TChar* string, uint32 sizeInBytes) = 0;
64
66 virtual tresult PLUGIN_API setBinary (AttrID id, const void* data, uint32 sizeInBytes) = 0;
67
69 virtual tresult PLUGIN_API getBinary (AttrID id, const void*& data, uint32& sizeInBytes) = 0;
70//------------------------------------------------------------------------
71 static const FUID iid;
72};
73
74DECLARE_CLASS_IID (IAttributeList, 0x1E5F0AEB, 0xCC7F4533, 0xA2544011, 0x38AD5EE4)
75
76//------------------------------------------------------------------------
130{
131public:
132 //------------------------------------------------------------------------
134 virtual tresult PLUGIN_API getFileName (String128 name) = 0;
135
137 virtual IAttributeList* PLUGIN_API getAttributes () = 0;
138 //------------------------------------------------------------------------
139 static const FUID iid;
140};
141
142DECLARE_CLASS_IID (IStreamAttributes, 0xD6CE2FFC, 0xEFAF4B8C, 0x9E74F1BB, 0x12DA44B4)
143
144//------------------------------------------------------------------------
145} // namespace Vst
146} // namespace Steinberg
147
148//------------------------------------------------------------------------
150//------------------------------------------------------------------------
Definition funknown.h:233
Definition funknown.h:361
Definition ivstattributes.h:41
static const FUID iid
Definition ivstattributes.h:71
virtual tresult PLUGIN_API setInt(AttrID id, int64 value)=0
virtual tresult PLUGIN_API getBinary(AttrID id, const void *&data, uint32 &sizeInBytes)=0
const char * AttrID
Definition ivstattributes.h:44
virtual tresult PLUGIN_API getInt(AttrID id, int64 &value)=0
virtual tresult PLUGIN_API setFloat(AttrID id, double value)=0
virtual tresult PLUGIN_API setString(AttrID id, const TChar *string)=0
virtual tresult PLUGIN_API setBinary(AttrID id, const void *data, uint32 sizeInBytes)=0
virtual tresult PLUGIN_API getFloat(AttrID id, double &value)=0
virtual tresult PLUGIN_API getString(AttrID id, TChar *string, uint32 sizeInBytes)=0
Definition ivstattributes.h:130
virtual tresult PLUGIN_API getFileName(String128 name)=0
virtual IAttributeList *PLUGIN_API getAttributes()=0
static const FUID iid
Definition ivstattributes.h:139
#define DECLARE_CLASS_IID(ClassName, l1, l2, l3, l4)
Definition funknown.h:74
static PuglViewHint int value
Definition pugl.h:1708
static const char * name
Definition pugl.h:1582
JSAMPIMAGE data
Definition jpeglib.h:945
Definition ivstattributes.h:28
TChar String128[128]
128 character UTF-16 string
Definition vsttypes.h:63
char16 TChar
UTF-16 character.
Definition vsttypes.h:62
Definition baseiids.cpp:43
long long int64
Definition ftypes.h:66
int32 tresult
Definition ftypes.h:76
unsigned int uint32
Definition ftypes.h:51