Implement IPluginFactory3::setHostContext()

Now the plugin factories are fully implemented (at least, functionality
wise, we still can't create most kinds of objects).
This commit is contained in:
Robbert van der Helm
2020-12-13 15:50:41 +01:00
parent 7c5f7a2e0e
commit 32c1028736
14 changed files with 95 additions and 24 deletions
+3 -2
View File
@@ -43,7 +43,8 @@
* for everything other than the edit controller's class ID.
*
* TODO: I think it's expected that components also implement `IAudioProcessor`
* and `IConnectionPoint`.
* and `IConnectionPoint`. We should use the same approach as in the
* plugin factory to implement multiple, possibly optional, interfaces.
*/
class YaComponent : public Steinberg::Vst::IComponent {
public:
@@ -57,7 +58,7 @@ class YaComponent : public Steinberg::Vst::IComponent {
* Read arguments from an existing implementation.
*/
ConstructArgs(Steinberg::IPtr<Steinberg::Vst::IComponent> component,
size_t isntance_id);
size_t instance_id);
/**
* The unique identifier for this specific instance.