CommandContext.cpp has fewer dependencies...
... freeing it (alone) from dependency cycles
This commit is contained in:
parent
9eb9104859
commit
d81ca99643
|
@ -30,9 +30,7 @@ messaging from a command back to its invoker.
|
|||
#include <wx/variant.h>
|
||||
#include <wx/arrstr.h>
|
||||
|
||||
#include "CommandBuilder.h"
|
||||
#include "CommandTargets.h"
|
||||
#include "CommandDirectory.h"
|
||||
|
||||
CommandContext::CommandContext(
|
||||
AudacityProject &p
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
#ifndef __AUDACITY_COMMAND_CONTEXT__
|
||||
#define __AUDACITY_COMMAND_CONTEXT__
|
||||
|
||||
#include <memory>
|
||||
#include "audacity/Types.h"
|
||||
#include "Command.h"
|
||||
|
||||
class AudacityProject;
|
||||
class AudacityApp;
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include "AppCommandEvent.h"
|
||||
#include "ScriptCommandRelay.h"
|
||||
#include "../commands/CommandContext.h"
|
||||
#include "../commands/Command.h"
|
||||
|
||||
CommandHandler::CommandHandler()
|
||||
: mCurrentContext(std::make_unique<CommandContext>
|
||||
|
|
|
@ -35,6 +35,7 @@ effects.
|
|||
|
||||
#include "../ShuttleGetDefinition.h"
|
||||
#include "../commands/CommandContext.h"
|
||||
#include "../commands/Command.h"
|
||||
#include "../PluginManager.h"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue