mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-24 07:13:48 +02:00
Use IdentInterfaceSymbol to identify commands and effects
This commit is contained in:
@@ -24,13 +24,13 @@
|
||||
#include "CommandType.h"
|
||||
#include "Command.h"
|
||||
|
||||
#define MESSAGE_PLUGIN_SYMBOL XO("Message")
|
||||
#define MESSAGE_PLUGIN_SYMBOL IdentInterfaceSymbol{ XO("Message") }
|
||||
|
||||
class MessageCommand : public AudacityCommand
|
||||
{
|
||||
public:
|
||||
// CommandDefinitionInterface overrides
|
||||
wxString GetSymbol() override {return MESSAGE_PLUGIN_SYMBOL;};
|
||||
IdentInterfaceSymbol GetSymbol() override {return MESSAGE_PLUGIN_SYMBOL;};
|
||||
wxString GetDescription() override {return _("Echos a message.");};
|
||||
bool DefineParams( ShuttleParams & S ) override;
|
||||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
Reference in New Issue
Block a user