mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-15 09:01:12 +01:00
CommandManager.cpp does not depend on EffectManager...
... some code lifted into BatchCommands.cpp to realize this. It also doesn't depend on PluginManager, but that is not important for breaking cycles.
This commit is contained in:
@@ -15,10 +15,12 @@
|
||||
#include <wx/defs.h>
|
||||
|
||||
#include "export/Export.h"
|
||||
#include "commands/CommandFlag.h"
|
||||
|
||||
class wxArrayString;
|
||||
class Effect;
|
||||
class CommandContext;
|
||||
class CommandManager;
|
||||
class AudacityProject;
|
||||
class wxArrayStringEx;
|
||||
|
||||
@@ -57,6 +59,9 @@ class MacroCommands final {
|
||||
public:
|
||||
bool ApplyMacro( const MacroCommandsCatalog &catalog,
|
||||
const wxString & filename = {});
|
||||
static bool HandleTextualCommand( CommandManager &commandManager,
|
||||
const CommandID & Str,
|
||||
const CommandContext & context, CommandFlag flags, bool alwaysEnabled);
|
||||
bool ApplyCommand( const wxString &friendlyCommand,
|
||||
const CommandID & command, const wxString & params,
|
||||
CommandContext const * pContext=NULL );
|
||||
|
||||
Reference in New Issue
Block a user