mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 22:12:58 +02:00
Use IdentInterfaceSymbol to identify commands and effects
This commit is contained in:
@@ -26,14 +26,14 @@
|
||||
|
||||
// GetPreference
|
||||
|
||||
#define GET_PREFERENCE_PLUGIN_SYMBOL XO("Get Preference")
|
||||
#define SET_PREFERENCE_PLUGIN_SYMBOL XO("Set Preference")
|
||||
#define GET_PREFERENCE_PLUGIN_SYMBOL IdentInterfaceSymbol{ XO("Get Preference") }
|
||||
#define SET_PREFERENCE_PLUGIN_SYMBOL IdentInterfaceSymbol{ XO("Set Preference") }
|
||||
|
||||
class GetPreferenceCommand final : public AudacityCommand
|
||||
{
|
||||
public:
|
||||
// CommandDefinitionInterface overrides
|
||||
wxString GetSymbol() override {return GET_PREFERENCE_PLUGIN_SYMBOL;};
|
||||
IdentInterfaceSymbol GetSymbol() override {return GET_PREFERENCE_PLUGIN_SYMBOL;};
|
||||
wxString GetDescription() override {return _("Gets the value of a single preference.");};
|
||||
bool DefineParams( ShuttleParams & S ) override;
|
||||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
@@ -51,7 +51,7 @@ class SetPreferenceCommand final : public AudacityCommand
|
||||
{
|
||||
public:
|
||||
// CommandDefinitionInterface overrides
|
||||
wxString GetSymbol() override {return SET_PREFERENCE_PLUGIN_SYMBOL;};
|
||||
IdentInterfaceSymbol GetSymbol() override {return SET_PREFERENCE_PLUGIN_SYMBOL;};
|
||||
wxString GetDescription() override {return _("Sets the value of a single preference.");};
|
||||
bool DefineParams( ShuttleParams & S ) override;
|
||||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
Reference in New Issue
Block a user