mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 12:10:09 +02:00
Add stubs for IComponentHandler3
This commit is contained in:
@@ -24,11 +24,13 @@ Vst3ComponentHandlerProxy::ConstructArgs::ConstructArgs(
|
||||
: owner_instance_id(owner_instance_id),
|
||||
component_handler_args(object),
|
||||
component_handler_2_args(object),
|
||||
component_handler_3_args(object),
|
||||
unit_handler_args(object) {}
|
||||
|
||||
Vst3ComponentHandlerProxy::Vst3ComponentHandlerProxy(const ConstructArgs&& args)
|
||||
: YaComponentHandler(std::move(args.component_handler_args)),
|
||||
YaComponentHandler2(std::move(args.component_handler_2_args)),
|
||||
YaComponentHandler3(std::move(args.component_handler_3_args)),
|
||||
YaUnitHandler(std::move(args.unit_handler_args)),
|
||||
arguments(std::move(args)){FUNKNOWN_CTOR}
|
||||
|
||||
@@ -54,6 +56,10 @@ Vst3ComponentHandlerProxy::queryInterface(Steinberg::FIDString _iid,
|
||||
QUERY_INTERFACE(_iid, obj, Steinberg::Vst::IComponentHandler2::iid,
|
||||
Steinberg::Vst::IComponentHandler2)
|
||||
}
|
||||
if (YaComponentHandler3::supported()) {
|
||||
QUERY_INTERFACE(_iid, obj, Steinberg::Vst::IComponentHandler3::iid,
|
||||
Steinberg::Vst::IComponentHandler3)
|
||||
}
|
||||
if (YaUnitHandler::supported()) {
|
||||
QUERY_INTERFACE(_iid, obj, Steinberg::Vst::IUnitHandler::iid,
|
||||
Steinberg::Vst::IUnitHandler)
|
||||
|
||||
Reference in New Issue
Block a user