Implement IComponentHandler::restartComponent()

The base IComponentHandler is now fully implemented.
This commit is contained in:
Robbert van der Helm
2020-12-19 15:51:48 +01:00
parent 25575e2d3a
commit 1b454371a6
6 changed files with 42 additions and 4 deletions
+6
View File
@@ -102,6 +102,12 @@ Vst3PluginBridge::Vst3PluginBridge()
.get()
.component_handler->endEdit(request.id);
},
[&](const YaComponentHandler::RestartComponent& request)
-> YaComponentHandler::EndEdit::Response {
return plugin_proxies.at(request.owner_instance_id)
.get()
.component_handler->restartComponent(request.flags);
},
});
});
}