Send the factory from the Wine host to the plugin

This commit is contained in:
Robbert van der Helm
2020-12-06 14:41:50 +01:00
parent 79c6f02d91
commit c2503f8aaa
5 changed files with 28 additions and 16 deletions
+7
View File
@@ -83,4 +83,11 @@ class Vst3Bridge : public HostBridge {
* threads to exit.
*/
Vst3Sockets<Win32Thread> sockets;
/**
* A plugin factory copied from the Windows VST3 plugin during
* initialization. The native VST3 plugin will request a copy of this
* information during its initialization.
*/
std::unique_ptr<YaPluginFactory> plugin_factory;
};