1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-22 06:22:58 +02:00

Use IdentInterfaceSymbol in old-style commands...

... Give each a translatable name, but don't use it anywhere yet, use
the CamelCase name
This commit is contained in:
Paul Licameli
2018-03-15 18:01:06 -04:00
parent e3c54a769e
commit 915e6ead40
7 changed files with 32 additions and 22 deletions

View File

@@ -35,7 +35,7 @@ class OldStyleCommand /* not final */
public:
OldStyleCommand() {};
virtual ~OldStyleCommand() { }
virtual wxString GetName() = 0;
virtual IdentInterfaceSymbol GetSymbol() = 0;
virtual CommandSignature &GetSignature() = 0;
virtual bool SetParameter(const wxString &paramName, const wxVariant &paramValue);
virtual bool Apply()=0;
@@ -57,7 +57,7 @@ public:
wxASSERT(cmd != NULL);
}
virtual ~DecoratedCommand();
wxString GetName() override;
IdentInterfaceSymbol GetSymbol() override;
CommandSignature &GetSignature() override;
bool SetParameter(const wxString &paramName, const wxVariant &paramValue) override;
};
@@ -105,7 +105,7 @@ public:
virtual ~CommandImplementation();
/// An instance method for getting the command name (for consistency)
wxString GetName() override;
IdentInterfaceSymbol GetSymbol() override;
/// Get the signature of the command
CommandSignature &GetSignature() override;