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:
@@ -44,7 +44,7 @@ class wxString;
|
||||
class OldStyleCommandType : public AudacityCommand
|
||||
{
|
||||
private:
|
||||
wxString mName;
|
||||
IdentInterfaceSymbol mSymbol;
|
||||
Maybe<CommandSignature> mSignature;
|
||||
|
||||
public:
|
||||
@@ -52,13 +52,13 @@ public:
|
||||
virtual ~OldStyleCommandType();
|
||||
wxString GetName() override;
|
||||
CommandSignature &GetSignature();
|
||||
wxString Describe();
|
||||
wxString Describe(); // for debugging only ?
|
||||
|
||||
// Subclasses should override the following:
|
||||
// =========================================
|
||||
|
||||
// Return the name of the command type
|
||||
virtual wxString BuildName() = 0;
|
||||
virtual IdentInterfaceSymbol BuildName() = 0;
|
||||
|
||||
/// Postcondition: signature is a 'signature' map containing parameter
|
||||
// names, validators and default values.
|
||||
|
Reference in New Issue
Block a user