1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 22:12:58 +02: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:
James Crook
2018-02-07 21:50:55 +00:00
committed by Paul Licameli
parent 2f6fc0a1e5
commit b83b862b3f
15 changed files with 31 additions and 34 deletions

View File

@@ -30,7 +30,7 @@ class CommandContext;
#define SCREENSHOT_PLUGIN_SYMBOL XO("Screenshot")
class ScreenshotCommandType : public AudacityCommand
class ScreenshotCommand : public AudacityCommand
{
public:
// CommandDefinitionInterface overrides
@@ -48,10 +48,7 @@ private:
wxString mPath;
friend class ScreenshotCommand;
friend class ScreenFrame;
};
class ScreenshotCommand final : public ScreenshotCommandType
{
public:
bool Apply(const CommandContext & context) override;
void GetDerivedParams();