CommandContext.cpp has fewer dependencies...

... freeing it (alone) from dependency cycles
This commit is contained in:
Paul Licameli 2019-05-11 15:48:39 -04:00
parent 9eb9104859
commit d81ca99643
4 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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;

View File

@ -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>

View File

@ -35,6 +35,7 @@ effects.
#include "../ShuttleGetDefinition.h"
#include "../commands/CommandContext.h"
#include "../commands/Command.h"
#include "../PluginManager.h"