1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-16 23:51:18 +02:00

Make sure "default" builtin effects are always registered

This appears to be a little overboard, but it makes the
registration of defaults a little more generic.
This commit is contained in:
Leland Lucius
2015-05-12 10:41:22 -05:00
parent 07f965a057
commit 186cdb1248
4 changed files with 79 additions and 119 deletions

View File

@@ -56,6 +56,8 @@ class PluginManagerInterface
public:
virtual ~PluginManagerInterface() {};
virtual bool IsPluginRegistered(const PluginID & ID) = 0;
virtual const PluginID & RegisterPlugin(ModuleInterface *module) = 0;
virtual const PluginID & RegisterPlugin(ModuleInterface *provider, EffectIdentInterface *effect) = 0;
virtual const PluginID & RegisterPlugin(ModuleInterface *provider, ImporterInterface *importer) = 0;