Add stubs for IComponentHandlerBusActivation

This commit is contained in:
Robbert van der Helm
2021-01-14 16:16:58 +01:00
parent f24632ac8f
commit bfdbfa9196
4 changed files with 30 additions and 0 deletions
@@ -114,6 +114,17 @@ Vst3ComponentHandlerProxyImpl::createContextMenu(
}
}
tresult PLUGIN_API Vst3ComponentHandlerProxyImpl::requestBusActivation(
Steinberg::Vst::MediaType type,
Steinberg::Vst::BusDirection dir,
int32 index,
TBool state) {
// TODO: Implement
std::cerr << "TODO: IComponentHandlerBusActivation::requestBusActivation()"
<< std::endl;
return Steinberg::kNotImplemented;
}
tresult PLUGIN_API Vst3ComponentHandlerProxyImpl::notifyUnitSelection(
Steinberg::Vst::UnitID unitId) {
return bridge.send_message(YaUnitHandler::NotifyUnitSelection{
@@ -50,6 +50,12 @@ class Vst3ComponentHandlerProxyImpl : public Vst3ComponentHandlerProxy {
createContextMenu(Steinberg::IPlugView* plugView,
const Steinberg::Vst::ParamID* paramID) override;
// From `IComponentHandlerBusActivation`
tresult PLUGIN_API requestBusActivation(Steinberg::Vst::MediaType type,
Steinberg::Vst::BusDirection dir,
int32 index,
TBool state) override;
// From `IUnitHandler`
tresult PLUGIN_API
notifyUnitSelection(Steinberg::Vst::UnitID unitId) override;