Add TODO about replacing known_iids with flags

This commit is contained in:
Robbert van der Helm
2020-12-17 00:31:01 +01:00
parent 6809e73d6b
commit 602bbc5d35
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -4,6 +4,9 @@ TODO: Flesh this out further
TODO: Link to `src/common/serialization/vst3/README.md` TODO: Link to `src/common/serialization/vst3/README.md`
TODO: Mention the new `Ya<Base>::supports()` mechanism for monolithic interfaces
through multiple inheritance
The VST3 SDK uses an architecture where every concrete object inherits from an The VST3 SDK uses an architecture where every concrete object inherits from an
interface, and every interface inherits from `FUnknown`. `FUnkonwn` offers a interface, and every interface inherits from `FUnknown`. `FUnkonwn` offers a
dynamic casting interface through `queryInterface()` and a reference counting dynamic casting interface through `queryInterface()` and a reference counting
@@ -54,6 +54,9 @@ class YaPluginFactory : public Steinberg::IPluginFactory3 {
/** /**
* The IIDs that the interface we serialized supports. * The IIDs that the interface we serialized supports.
*
* TODO: Replace this with a set of boolean flags, just like we're doing
* with the other interfaces.
*/ */
std::set<Steinberg::FUID> known_iids; std::set<Steinberg::FUID> known_iids;