Implement IUnitHandler::notifyProgramListChange

With this IUnitHandler has been fully implemented.
This commit is contained in:
Robbert van der Helm
2020-12-26 14:30:28 +01:00
parent bf40e10780
commit 47177ed889
6 changed files with 48 additions and 4 deletions
+7
View File
@@ -151,6 +151,13 @@ Vst3PluginBridge::Vst3PluginBridge()
.get()
.unit_handler->notifyUnitSelection(request.unit_id);
},
[&](const YaUnitHandler::NotifyProgramListChange& request)
-> YaUnitHandler::NotifyProgramListChange::Response {
return plugin_proxies.at(request.owner_instance_id)
.get()
.unit_handler->notifyProgramListChange(
request.list_id, request.program_index);
},
});
});
}