LMMS
Loading...
Searching...
No Matches
Steinberg::Vst::IPlugInterfaceSupport Class Referenceabstract

#include <ivstpluginterfacesupport.h>

Inheritance diagram for Steinberg::Vst::IPlugInterfaceSupport:
Steinberg::FUnknown Steinberg::Vst::PlugInterfaceSupport

Public Member Functions

virtual tresult PLUGIN_API isPlugInterfaceSupported (const TUID _iid)=0
Public Member Functions inherited from Steinberg::FUnknown
virtual tresult PLUGIN_API queryInterface (const TUID _iid, void **obj)=0
virtual uint32 PLUGIN_API addRef ()=0
virtual uint32 PLUGIN_API release ()=0

Static Public Attributes

static const FUID iid
Static Public Attributes inherited from Steinberg::FUnknown
static const FUID iid

Detailed Description

Host callback interface for an edit controller: Vst::IPlugInterfaceSupport

  • [host imp]
  • [released: 3.6.12]
  • [optional]

Allows a plug-in to ask the host if a given plug-in interface is supported/used by the host. It is implemented by the hostContext given when the component is initialized.

Example

//------------------------------------------------------------------------
tresult PLUGIN_API MyPluginController::initialize (FUnknown* context)
{
// ...
FUnknownPtr<IPlugInterfaceSupport> plugInterfaceSupport (context);
if (plugInterfaceSupport)
{
if (plugInterfaceSupport->isPlugInterfaceSupported (IMidiMapping::iid) == kResultTrue)
// IMidiMapping is used by the host
}
// ...
}
Definition funknown.h:361
Definition funknown.h:403
static const FUID iid
Definition ivsteditcontroller.h:563
@ kResultTrue
Definition funknown.h:194
int32 tresult
Definition ftypes.h:76
See also
IPluginBase

Member Function Documentation

◆ isPlugInterfaceSupported()

virtual tresult PLUGIN_API Steinberg::Vst::IPlugInterfaceSupport::isPlugInterfaceSupported ( const TUID _iid)
pure virtual

Returns kResultTrue if the associated interface to the given _iid is supported/used by the host.

Implemented in Steinberg::Vst::PlugInterfaceSupport.

Member Data Documentation

◆ iid

const FUID Steinberg::Vst::IPlugInterfaceSupport::iid
static

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