LMMS
Loading...
Searching...
No Matches
ipslhostcommands.h
Go to the documentation of this file.
1//************************************************************************************************
2//
3// PreSonus Plug-In Extensions
4// Written and placed in the PUBLIC DOMAIN by PreSonus Software Ltd.
5//
6// Filename : ipslhostcommands.h
7// Created by : PreSonus Software Ltd., 11/2009
8// Description : Host Command Interface
9//
10//************************************************************************************************
11/*
12 DISCLAIMER:
13 The PreSonus Plug-In Extensions are host-specific extensions of existing proprietary technologies,
14 provided to the community on an AS IS basis. They are not part of any official 3rd party SDK and
15 PreSonus is not affiliated with the owner of the underlying technology in any way.
16*/
17//************************************************************************************************
18
19#ifndef _ipslhostcommands_h
20#define _ipslhostcommands_h
21
25
26namespace Steinberg {
27class IPlugView; }
28
29namespace Presonus {
30
31struct ICommandList;
32
33//************************************************************************************************
34// IHostCommandHandler
56//************************************************************************************************
57
75
76DECLARE_CLASS_IID (IHostCommandHandler, 0xF92032CD, 0x7A84407C, 0xABE6F863, 0x058EA6C2)
77
78//************************************************************************************************
79// CommandInfo
81//************************************************************************************************
82
95
96//************************************************************************************************
97// ICommandList
99//************************************************************************************************
100
102{
104 virtual Steinberg::int32 PLUGIN_API getCommandCount () = 0;
105
108
110 virtual Steinberg::tresult PLUGIN_API executeCommand (Steinberg::int32 index) = 0;
111
112 static const Steinberg::FUID iid;
113};
114
115DECLARE_CLASS_IID (ICommandList, 0xC5A687DB, 0x82F344E9, 0xB378254A, 0x47C4D712)
116
117} // namespace Presonus
118
120
121#endif // _ipslhostcommands_h
Definition funknown.h:233
Definition funknown.h:361
Definition iplugview.h:123
#define DECLARE_CLASS_IID(ClassName, l1, l2, l3, l4)
Definition funknown.h:74
struct backing_store_struct * info
Definition jmemsys.h:183
Definition juce_VST3Headers.h:188
uint32 ParamID
parameter identifier
Definition vsttypes.h:75
TChar String128[128]
128 character UTF-16 string
Definition vsttypes.h:63
Definition baseiids.cpp:43
int int32
Definition ftypes.h:50
int32 tresult
Definition ftypes.h:76
Definition ipslhostcommands.h:84
Steinberg::int32 flags
command flags
Definition ipslhostcommands.h:86
Steinberg::Vst::String128 title
command title (possibly localized into active host language)
Definition ipslhostcommands.h:85
CommandFlags
Definition ipslhostcommands.h:89
@ kIsChecked
used to display command with a check mark
Definition ipslhostcommands.h:92
@ kCanExecute
used to display command enabled/disabled
Definition ipslhostcommands.h:90
@ kIsSeparator
not a command, it's a separator
Definition ipslhostcommands.h:91
Definition ipslhostcommands.h:102
virtual Steinberg::int32 PLUGIN_API getCommandCount()=0
static const Steinberg::FUID iid
Definition ipslhostcommands.h:112
virtual Steinberg::tresult PLUGIN_API getCommandInfo(Steinberg::int32 index, CommandInfo &info)=0
virtual Steinberg::tresult PLUGIN_API executeCommand(Steinberg::int32 index)=0
Definition ipslhostcommands.h:59
virtual ICommandList *PLUGIN_API createParamCommands(Steinberg::Vst::ParamID tag)=0
static const Steinberg::FUID iid
Definition ipslhostcommands.h:73
virtual Steinberg::tresult PLUGIN_API popupCommandMenu(ICommandList *commandList, Steinberg::int32 xPos, Steinberg::int32 yPos, Steinberg::IPlugView *view=0)=0