mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-25 08:38:39 +02:00
... for functions in final classes. override is like const -- it's not necessary, but it helps the compiler to catch mistakes. There may be some overriding functions not explicitly declared virtual and I did not identify such cases, in which I might also add override.
39 lines
1.0 KiB
C++
39 lines
1.0 KiB
C++
/**********************************************************************
|
|
|
|
Audacity - A Digital Audio Editor
|
|
Copyright 1999-2009 Audacity Team
|
|
License: GPL v2 - see LICENSE.txt
|
|
|
|
Dan Horgan
|
|
|
|
******************************************************************//**
|
|
|
|
\file SelectCommand.h
|
|
\brief Declarations for SelectCommand and SelectCommandType classes
|
|
|
|
*//*******************************************************************/
|
|
|
|
#ifndef __SELECTCOMMAND__
|
|
#define __SELECTCOMMAND__
|
|
|
|
#include "CommandType.h"
|
|
#include "Command.h"
|
|
|
|
class SelectCommandType final : public CommandType
|
|
{
|
|
public:
|
|
wxString BuildName() override;
|
|
void BuildSignature(CommandSignature &signature) override;
|
|
Command *Create(CommandOutputTarget *target) override;
|
|
};
|
|
|
|
class SelectCommand final : public CommandImplementation
|
|
{
|
|
public:
|
|
SelectCommand(SelectCommandType &type, CommandOutputTarget *target)
|
|
: CommandImplementation(type, target) { }
|
|
bool Apply(CommandExecutionContext context) override;
|
|
};
|
|
|
|
#endif /* End of include guard: __SELECTCOMMAND__ */
|