mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 08:09:32 +02:00
Some uses of final
This commit is contained in:
parent
768e76b0da
commit
7ecaed079c
@ -56,7 +56,7 @@ class CommandParameters;
|
|||||||
\brief Shuttle that deals with parameters. This is a base class with lots of
|
\brief Shuttle that deals with parameters. This is a base class with lots of
|
||||||
virtual functions that do nothing by default.
|
virtual functions that do nothing by default.
|
||||||
********************************************************************************/
|
********************************************************************************/
|
||||||
class ShuttleParams : public Shuttle
|
class ShuttleParams /* not final */ : public Shuttle
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxString mParams;
|
wxString mParams;
|
||||||
@ -83,7 +83,7 @@ public:
|
|||||||
/**************************************************************************//**
|
/**************************************************************************//**
|
||||||
\brief Shuttle that gets parameter values into a string.
|
\brief Shuttle that gets parameter values into a string.
|
||||||
********************************************************************************/
|
********************************************************************************/
|
||||||
class ShuttleGetAutomation : public ShuttleParams
|
class ShuttleGetAutomation final : public ShuttleParams
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ShuttleParams & Optional( bool & var ) override;
|
ShuttleParams & Optional( bool & var ) override;
|
||||||
@ -101,7 +101,7 @@ public:
|
|||||||
/**************************************************************************//**
|
/**************************************************************************//**
|
||||||
\brief Shuttle that sets parameters to a value (from a string)
|
\brief Shuttle that sets parameters to a value (from a string)
|
||||||
********************************************************************************/
|
********************************************************************************/
|
||||||
class ShuttleSetAutomation : public ShuttleParams
|
class ShuttleSetAutomation final : public ShuttleParams
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ShuttleSetAutomation(){ bWrite = false; bOK = false;};
|
ShuttleSetAutomation(){ bWrite = false; bOK = false;};
|
||||||
@ -126,7 +126,7 @@ public:
|
|||||||
/**************************************************************************//**
|
/**************************************************************************//**
|
||||||
\brief Shuttle that sets parameters to their default values.
|
\brief Shuttle that sets parameters to their default values.
|
||||||
********************************************************************************/
|
********************************************************************************/
|
||||||
class ShuttleDefaults : public ShuttleParams
|
class ShuttleDefaults final : public ShuttleParams
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxString Result;
|
wxString Result;
|
||||||
|
@ -17,7 +17,8 @@
|
|||||||
/**************************************************************************//**
|
/**************************************************************************//**
|
||||||
\brief Shuttle that retrieves a JSON format definition of a command's parameters.
|
\brief Shuttle that retrieves a JSON format definition of a command's parameters.
|
||||||
********************************************************************************/
|
********************************************************************************/
|
||||||
class ShuttleGetDefinition : public ShuttleParams, public CommandMessageTargetDecorator
|
class ShuttleGetDefinition final
|
||||||
|
: public ShuttleParams, public CommandMessageTargetDecorator
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ShuttleGetDefinition( CommandMessageTarget & target );
|
ShuttleGetDefinition( CommandMessageTarget & target );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user