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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user