mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 04:20:13 +02:00
Send the factory from the Wine host to the plugin
This commit is contained in:
@@ -73,6 +73,10 @@ SMTG_EXPORT_SYMBOL Steinberg::IPluginFactory* PLUGIN_API GetPluginFactory() {
|
||||
// The host should have called `InitModule()` first
|
||||
assert(bridge);
|
||||
|
||||
// TODO: I think there is a flag that indicates that the class configuration
|
||||
// may change, but I don't remember if it's at runtime or every time
|
||||
// the module is loaded. If it's the former then this will take some
|
||||
// special handling.
|
||||
return bridge->plugin_factory.get();
|
||||
|
||||
// TODO: In the normal implementation of this function they manually call
|
||||
|
||||
Reference in New Issue
Block a user