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:
@@ -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 ¶mName, const wxVariant ¶mValue);
|
||||
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 ¶mName, const wxVariant ¶mValue) 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;
|
||||
|
Reference in New Issue
Block a user