Rename GroupRequest to HostRequest

We'll also use this to encode information in when launching
`yabridge-host.exe` for individually hosted plugins.
This commit is contained in:
Robbert van der Helm
2020-11-30 23:15:42 +01:00
parent 1c5a9423d2
commit e21d3e020f
5 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -184,8 +184,8 @@ void GroupBridge::accept_requests() {
// TODO: Do something with the plugin type
// TODO: Maybe try to merge instantiation with `individual_host`?
// Might only make things messier
const auto request = read_object<GroupRequest>(socket);
write_object(socket, GroupResponse{boost::this_process::get_id()});
const auto request = read_object<HostRequest>(socket);
write_object(socket, HostResponse{boost::this_process::get_id()});
// The plugin has to be initiated on the IO context's thread because
// this has to be done on the same thread that's handling messages,