mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-05 03:03:10 +01:00
OldStyleCommandType - It's on the way out.
This renaming makes it clearer which code is still using Dan Horgan's Command system.
This commit is contained in:
committed by
Paul Licameli
parent
2f6fc0a1e5
commit
b83b862b3f
@@ -47,7 +47,7 @@ It forwards the actual work of doing the commands to the ScreenshotCommand.
|
||||
|
||||
#include "Track.h"
|
||||
|
||||
class CommandType;
|
||||
class OldStyleCommandType;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -251,7 +251,7 @@ std::unique_ptr<ScreenshotCommand> ScreenFrame::CreateCommand()
|
||||
std::make_unique<CommandOutputTarget>(std::make_unique<NullProgressTarget>(),
|
||||
std::make_shared<StatusBarTarget>(*mStatus),
|
||||
std::make_shared<MessageBoxTarget>());
|
||||
//CommandType *type = CommandDirectory::Get()->LookUp(wxT("Screenshot"));
|
||||
//OldStyleCommandType *type = CommandDirectory::Get()->LookUp(wxT("Screenshot"));
|
||||
//wxASSERT_MSG(type != NULL, wxT("Screenshot command doesn't exist!"));
|
||||
return std::make_unique<ScreenshotCommand>();//*type, std::move(output), this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user