1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 17:49:45 +02:00

Don't register the Demo command

It's only for developers.
This commit is contained in:
James Crook 2020-02-21 09:53:54 +00:00
parent 14aad758fa
commit 952ff1f61e

View File

@ -36,7 +36,8 @@ parameters. It is for development purposes.
const ComponentInterfaceSymbol DemoCommand::Symbol const ComponentInterfaceSymbol DemoCommand::Symbol
{ XO("Demo") }; { XO("Demo") };
namespace{ BuiltinCommandsModule::Registration< DemoCommand > reg; } //Don't register the demo command.
//namespace{ BuiltinCommandsModule::Registration< DemoCommand > reg; }
bool DemoCommand::DefineParams( ShuttleParams & S ){ bool DemoCommand::DefineParams( ShuttleParams & S ){
S.Define( delay, wxT("Delay"), 1.0f, 0.001f, FLT_MAX, 1.0f ); S.Define( delay, wxT("Delay"), 1.0f, 0.001f, FLT_MAX, 1.0f );