mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 15:49:41 +02:00
Fix "Scriptables" commands, which broke at 02b6153...
... Problem was the loss of an override of PluginManager::GetID() for a more specific pointer type.
This commit is contained in:
parent
9808b8d429
commit
e9c575cbc1
@ -1547,6 +1547,11 @@ ComponentInterface *PluginManager::GetInstance(const PluginID & ID)
|
||||
}
|
||||
}
|
||||
|
||||
PluginID PluginManager::GetID(ModuleInterface *module)
|
||||
{
|
||||
return ModuleManager::GetID(module);
|
||||
}
|
||||
|
||||
PluginID PluginManager::GetID(ComponentInterface *command)
|
||||
{
|
||||
return wxString::Format(wxT("%s_%s_%s_%s_%s"),
|
||||
|
@ -236,6 +236,7 @@ public:
|
||||
|
||||
static PluginManager & Get();
|
||||
|
||||
static PluginID GetID(ModuleInterface *module);
|
||||
static PluginID GetID(ComponentInterface *command);
|
||||
static PluginID GetID(EffectDefinitionInterface *effect);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user