| 24 | } |
| 25 | |
| 26 | bool EffectAndCommandPluginManager::DoAudacityCommand( |
| 27 | const PluginID& ID, const CommandContext& context, |
| 28 | bool shouldPrompt /* = true */) |
| 29 | |
| 30 | { |
| 31 | EffectManager::Get().SetSkipStateFlag(false); |
| 32 | AudacityCommand* command = GetAudacityCommand(ID); |
| 33 | |
| 34 | if (!command) |
| 35 | { |
| 36 | return false; |
| 37 | } |
| 38 | |
| 39 | bool res = command->DoAudacityCommand(context, shouldPrompt); |
| 40 | |
| 41 | return res; |
| 42 | } |
| 43 | |
| 44 | AudacityCommand* |
| 45 | EffectAndCommandPluginManager::GetAudacityCommand(const PluginID& ID) |
nothing calls this directly
no test coverage detected