1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-24 07:01:16 +01:00

Eliminate one of the ## macro hacks in LoadCommands

This commit is contained in:
Paul Licameli
2019-06-24 10:40:45 -04:00
parent 8832621b0a
commit 0ca5775234
36 changed files with 165 additions and 78 deletions

View File

@@ -23,13 +23,13 @@
#include "CommandType.h"
#include "Command.h"
#define HELP_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Help") }
class HelpCommand : public AudacityCommand
{
public:
static const ComponentInterfaceSymbol Symbol;
// ComponentInterface overrides
ComponentInterfaceSymbol GetSymbol() override {return HELP_PLUGIN_SYMBOL;};
ComponentInterfaceSymbol GetSymbol() override {return Symbol;};
TranslatableString GetDescription() override {return XO("Gives help on a command.");};
bool DefineParams( ShuttleParams & S ) override;
void PopulateOrExchange(ShuttleGui & S) override;