1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-20 09:31:15 +02:00

Automation -> Scripting.

This commit is contained in:
James Crook
2018-02-21 14:24:25 +00:00
committed by Paul Licameli
parent 08b1db6145
commit 0ad533a740
71 changed files with 157 additions and 157 deletions

View File

@@ -3,7 +3,7 @@
Audacity: A Digital Audio Editor
EffectAutomationParameters.h
(defining CommandAutomationParameters)
(defining CommandParameters)
Leland Lucius
@@ -40,8 +40,8 @@
**********************************************************************/
#ifndef __AUDACITY_COMMAND_AUTOMATION_PARAMETERS_H__
#define __AUDACITY_COMMAND_AUTOMATION_PARAMETERS_H__
#ifndef __AUDACITY_COMMAND_PARAMETERS_H__
#define __AUDACITY_COMMAND_PARAMETERS_H__
#include <locale.h>
@@ -51,7 +51,7 @@
/**
\brief CommandAutomationParameters, derived from wxFileConfig, is essentially doing
\brief CommandParameters, derived from wxFileConfig, is essentially doing
the same things as the Shuttle classes. It does text <-> binary conversions of
parameters. It does not seem to be using actual file read/writing.
@@ -61,10 +61,10 @@ wxWidget validators, and can create default dialogs. However until that convers
done, we need this class, and we use a pointer to one from within a Shuttle when interfacing
with the code that still uses it.
*/
class CommandAutomationParameters final : public wxFileConfig
class CommandParameters final : public wxFileConfig
{
public:
CommandAutomationParameters(const wxString & parms = wxEmptyString)
CommandParameters(const wxString & parms = wxEmptyString)
: wxFileConfig(wxEmptyString,
wxEmptyString,
wxEmptyString,
@@ -74,7 +74,7 @@ public:
SetParameters(parms);
}
virtual ~CommandAutomationParameters()
virtual ~CommandParameters()
{
}

View File

@@ -214,8 +214,8 @@ public:
// should derive by some route from AudacityCommand to pick up that
// functionality.
//virtual bool DefineParams( ShuttleParams & S){ return false;};
virtual bool GetAutomationParameters(CommandAutomationParameters & parms) = 0;
virtual bool SetAutomationParameters(CommandAutomationParameters & parms) = 0;
virtual bool GetAutomationParameters(CommandParameters & parms) = 0;
virtual bool SetAutomationParameters(CommandParameters & parms) = 0;
virtual bool LoadUserPreset(const wxString & name) = 0;
virtual bool SaveUserPreset(const wxString & name) = 0;