20#include "../CommonCommandFlags.h"
65 {
return VisitSettings<false>(
S); }
68 {
return VisitSettings<true>(
S); }
74 S.StartMultiColumn(2, wxALIGN_CENTER);
77 S.TieChoice(
XXO(
"Format:"),
92 std::make_unique<LispifiedCommandOutputTargets>( *context.
pOutput.get() )
101 std::make_unique<BriefCommandOutputTargets>( *context.
pOutput.get() )
112 context.
Status(
"Command not found" );
125 {
return VisitSettings<false>(
S); }
128 {
return VisitSettings<true>(
S); }
134 S.StartMultiColumn(2, wxALIGN_CENTER);
153 wxT(
"Optional/Extra/Part2/Scriptables2")
const ReservedCommandFlag & AudioIONotBusyFlag()
XXO("&Cut/Copy/Paste Toolbar")
static const EnumValueSymbol kFormats[nFormats]
TranslatableStrings Msgids(const EnumValueSymbol strings[], size_t nStrings)
Convenience function often useful when adding choice controls.
CommandContext provides additional information to an 'Apply()' command. It provides the project,...
virtual void Status(const wxString &message, bool bFlush=false) const
AudacityProject & project
std::unique_ptr< CommandOutputTargets > pOutput
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
void GetCommandDefinition(const PluginID &ID, const CommandContext &context, int flags)
static EffectAndCommandPluginManager & Get()
void PopulateOrExchange(ShuttleGui &S) override
static const ComponentInterfaceSymbol Symbol
bool Apply(const CommandContext &context) override
bool ApplyInner(const CommandContext &context)
bool VisitSettings(SettingsVisitorBase< Const > &S)
const PluginID & GetByCommandIdentifier(const CommandID &strTarget)
static PluginManager & Get()
Generates classes whose instances register items at construction.
Visitor of effect or command parameters. This is a base class with lots of virtual functions that do ...
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
AUDACITY_DLL_API void OnAudacityCommand(const CommandContext &ctx)
BuiltinCommandsModule::Registration< HelpCommand > reg
BuiltinCommandsModule::Registration< CommentCommand > reg2