mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-13 07:42:15 +02:00
Add IUnitHandler stubs to component handler proxy
This commit is contained in:
@@ -66,3 +66,18 @@ Vst3ComponentHandlerProxyImpl::restartComponent(int32 flags) {
|
||||
return bridge.send_message(YaComponentHandler::RestartComponent{
|
||||
.owner_instance_id = owner_instance_id(), .flags = flags});
|
||||
}
|
||||
|
||||
tresult PLUGIN_API Vst3ComponentHandlerProxyImpl::notifyUnitSelection(
|
||||
Steinberg::Vst::UnitID unitId) {
|
||||
// TODO: Implement
|
||||
std::cerr << "TODO: IUnitHandler::notifyUnitSelection" << std::endl;
|
||||
return Steinberg::kNotImplemented;
|
||||
}
|
||||
|
||||
tresult PLUGIN_API Vst3ComponentHandlerProxyImpl::notifyProgramListChange(
|
||||
Steinberg::Vst::ProgramListID listId,
|
||||
int32 programIndex) {
|
||||
// TODO: Implement
|
||||
std::cerr << "TODO: IUnitHandler::notifyProgramListChange" << std::endl;
|
||||
return Steinberg::kNotImplemented;
|
||||
}
|
||||
|
||||
@@ -39,6 +39,13 @@ class Vst3ComponentHandlerProxyImpl : public Vst3ComponentHandlerProxy {
|
||||
tresult PLUGIN_API endEdit(Steinberg::Vst::ParamID id) override;
|
||||
tresult PLUGIN_API restartComponent(int32 flags) override;
|
||||
|
||||
// From `IUnitHandler`
|
||||
tresult PLUGIN_API
|
||||
notifyUnitSelection(Steinberg::Vst::UnitID unitId) override;
|
||||
tresult PLUGIN_API
|
||||
notifyProgramListChange(Steinberg::Vst::ProgramListID listId,
|
||||
int32 programIndex) override;
|
||||
|
||||
private:
|
||||
Vst3Bridge& bridge;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user