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

@@ -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.