mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-22 06:22:58 +02:00
More commands documented in wiki implemented.
- Added new facility whereby parameters can be optional, and can be tested for their presence. - Can now set Pan, Gain, Selected, Solo, Mute, Focused using SetTrackInfo, mirroring what GetTrackInfo can do.
This commit is contained in:
@@ -120,6 +120,7 @@ class CommandImplementation /* not final */ : public Command
|
||||
private:
|
||||
CommandType &mType;
|
||||
ParamValueMap mParams;
|
||||
ParamBoolMap mSetParams;
|
||||
|
||||
/// Using the command signature, looks up a possible parameter value and
|
||||
/// checks whether it passes the validator.
|
||||
@@ -133,6 +134,7 @@ protected:
|
||||
const wxString ¶mName,
|
||||
const wxVariant ¶m);
|
||||
void CheckParam(const wxString ¶mName);
|
||||
bool HasParam( const wxString ¶mName);
|
||||
bool GetBool(const wxString ¶mName);
|
||||
long GetLong(const wxString ¶mName);
|
||||
double GetDouble(const wxString ¶mName);
|
||||
|
Reference in New Issue
Block a user