![]() |
Audacity 3.2.0
|
Command which outputs a list of available menu commands on the status channel. More...
#include <GetInfoCommand.h>
Public Member Functions | |
| ComponentInterfaceSymbol | GetSymbol () const override |
| TranslatableString | GetDescription () const override |
| template<bool Const> | |
| bool | VisitSettings (SettingsVisitorBase< Const > &S) |
| bool | VisitSettings (SettingsVisitor &S) override |
| bool | VisitSettings (ConstSettingsVisitor &S) override |
| void | PopulateOrExchange (ShuttleGui &S) override |
| ManualPageID | ManualPage () override |
| bool | Apply (const CommandContext &context) override |
| bool | ApplyInner (const CommandContext &context) |
Public Member Functions inherited from AudacityCommand | |
| AudacityCommand () | |
| virtual | ~AudacityCommand () |
| PluginPath | GetPath () const override |
| VendorSymbol | GetVendor () const override |
| wxString | GetVersion () const override |
| ComponentInterfaceSymbol | GetSymbol () const override=0 |
| virtual TranslatableString | GetDescription () const override |
| virtual ManualPageID | ManualPage () |
| virtual bool | IsBatchProcessing () const |
| virtual void | SetBatchProcessing (bool start) |
| virtual bool | Apply (const CommandContext &WXUNUSED(context)) |
| bool | ShowInterface (wxWindow *parent, bool forceModal=false) |
| wxDialog * | CreateUI (wxWindow *parent, AudacityCommand *client) |
| bool | SaveSettingsAsString (wxString &parms) |
| bool | LoadSettingsFromString (const wxString &parms) |
| bool | DoAudacityCommand (const CommandContext &context, bool shouldPrompt=true) |
| int | MessageBox (const TranslatableString &message, long style=DefaultMessageBoxStyle, const TranslatableString &titleStr={}) |
| virtual bool | Init () |
| virtual bool | PromptUser (AudacityProject &) |
| virtual bool | CheckWhetherSkipAudacityCommand () |
| virtual void | End () |
| virtual void | PopulateOrExchange (ShuttleGui &WXUNUSED(S)) |
| virtual bool | TransferDataToWindow () |
| virtual bool | TransferDataFromWindow () |
| virtual bool | VisitSettings (SettingsVisitor &) |
| virtual bool | VisitSettings (ConstSettingsVisitor &) |
Public Member Functions inherited from ComponentInterface | |
| virtual | ~ComponentInterface () |
| virtual PluginPath | GetPath () const =0 |
| virtual ComponentInterfaceSymbol | GetSymbol () const =0 |
| virtual VendorSymbol | GetVendor () const =0 |
| virtual wxString | GetVersion () const =0 |
| virtual TranslatableString | GetDescription () const =0 |
| TranslatableString | GetName () const |
Public Attributes | |
| int | mInfoType |
| int | mFormat |
Static Public Attributes | |
| static const ComponentInterfaceSymbol | Symbol { XO("Get Info") } |
Private Member Functions | |
| bool | SendCommands (const CommandContext &context, int flags) |
| bool | SendMenus (const CommandContext &context) |
| bool | SendPreferences (const CommandContext &context) |
| bool | SendTracks (const CommandContext &context) |
| bool | SendLabels (const CommandContext &context) |
| bool | SendClips (const CommandContext &context) |
| bool | SendEnvelopes (const CommandContext &context) |
| bool | SendBoxes (const CommandContext &context) |
| bool | SendSelection (const CommandContext &context) |
| void | ExploreMenu (const CommandContext &context, wxMenu *pMenu, int Id, int depth) |
| void | ExploreTrackPanel (const CommandContext &context, wxPoint P, int depth) |
| void | ExploreAdornments (const CommandContext &context, wxPoint P, wxWindow *pWin, int Id, int depth) |
| void | ExploreWindows (const CommandContext &context, wxPoint P, wxWindow *pWin, int Id, int depth) |
Additional Inherited Members | |
Public Types inherited from AudacityCommand | |
| enum | : long { DefaultMessageBoxStyle = wxOK | wxCENTRE } |
Protected Attributes inherited from AudacityCommand | |
| ProgressDialog * | mProgress |
| wxDialog * | mUIDialog |
| wxWindow * | mUIParent |
Command which outputs a list of available menu commands on the status channel.
Definition at line 29 of file GetInfoCommand.h.
|
override |
Definition at line 142 of file GetInfoCommand.cpp.
References ApplyInner(), kBrief, kJson, kLisp, mFormat, CommandContext::pOutput, and CommandContext::project.
| bool GetInfoCommand::ApplyInner | ( | const CommandContext & | context | ) |
Definition at line 168 of file GetInfoCommand.cpp.
References kBoxes, kClips, kCommands, kEnvelopes, kLabels, kMenus, kPreferences, kSelection, kTracks, mInfoType, SendBoxes(), SendClips(), SendCommands(), SendEnvelopes(), SendLabels(), SendMenus(), SendPreferences(), SendSelection(), SendTracks(), and CommandContext::Status().
Referenced by Apply().
|
private |
Definition at line 703 of file GetInfoCommand.cpp.
References CommandContext::AddItem(), CommandContext::EndArray(), CommandContext::EndField(), CommandContext::EndStruct(), CommandContext::StartArray(), CommandContext::StartField(), and CommandContext::StartStruct().
|
private |
Definition at line 654 of file GetInfoCommand.cpp.
References CommandContext::AddItem(), CommandContext::EndStruct(), CommandManager::Get(), CommandContext::project, and CommandContext::StartStruct().
Referenced by SendMenus().
|
private |
Definition at line 730 of file GetInfoCommand.cpp.
References CommandContext::AddItem(), CommandContext::EndArray(), CommandContext::EndField(), CommandContext::EndStruct(), TrackList::Get(), TrackPanel::Get(), P, CommandContext::project, CommandContext::StartArray(), CommandContext::StartField(), and CommandContext::StartStruct().
|
private |
Definition at line 761 of file GetInfoCommand.cpp.
References CommandContext::AddItem(), CommandContext::EndArray(), CommandContext::EndField(), CommandContext::EndStruct(), P, CommandContext::StartArray(), CommandContext::StartField(), and CommandContext::StartStruct().
|
inlineoverridevirtual |
Reimplemented from AudacityCommand.
Definition at line 36 of file GetInfoCommand.h.
References XO().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from AudacityCommand.
Definition at line 43 of file GetInfoCommand.h.
|
override |
Definition at line 128 of file GetInfoCommand.cpp.
References kFormats, kTypes, mFormat, mInfoType, Msgids(), nFormats, nTypes, S, and XXO().
|
private |
Definition at line 448 of file GetInfoCommand.cpp.
References CommandContext::AddItem(), CommandContext::EndArray(), CommandContext::EndField(), CommandContext::EndStruct(), GetProjectFrame(), CommandContext::project, CommandContext::StartArray(), CommandContext::StartField(), and CommandContext::StartStruct().
Referenced by ApplyInner().
|
private |
Definition at line 525 of file GetInfoCommand.cpp.
References CommandContext::EndArray(), TrackList::Get(), WaveTrack::Intervals(), CommandContext::project, CommandContext::StartArray(), and tracks.
Referenced by ApplyInner().
|
private |
Send the list of commands.
Definition at line 430 of file GetInfoCommand.cpp.
References CommandContext::EndArray(), PluginManager::Get(), EffectAndCommandPluginManager::Get(), EffectAndCommandPluginManager::GetCommandDefinition(), PluginManager::GetCommandIdentifier(), PluginManager::PluginsOfType(), PluginTypeAudacityCommand, PluginTypeEffect, and CommandContext::StartArray().
Referenced by ApplyInner().
|
private |
Definition at line 553 of file GetInfoCommand.cpp.
References CommandContext::AddItem(), CommandContext::EndArray(), CommandContext::EndField(), CommandContext::EndStruct(), for(), TrackList::Get(), CommandContext::project, WaveTrack::SortedIntervalArray(), CommandContext::StartArray(), CommandContext::StartField(), CommandContext::StartStruct(), and tracks.
Referenced by ApplyInner().
|
private |
Definition at line 595 of file GetInfoCommand.cpp.
References CommandContext::AddItem(), CommandContext::EndArray(), CommandContext::EndStruct(), TrackList::Get(), LabelTrack::GetLabels(), label, LabelTrack::mLabels, CommandContext::project, CommandContext::StartArray(), CommandContext::StartStruct(), and tracks.
Referenced by ApplyInner().
|
private |
Definition at line 187 of file GetInfoCommand.cpp.
References CommandContext::AddItem(), CommandContext::EndArray(), CommandContext::EndStruct(), ExploreMenu(), GetProjectFrame(), CommandContext::project, CommandContext::StartArray(), and CommandContext::StartStruct().
Referenced by ApplyInner().
|
private |
Definition at line 414 of file GetInfoCommand.cpp.
References CommandContext::EndArray(), GetProjectFrame(), CommandContext::pOutput, CommandContext::project, S, PrefsDialog::ShuttleAll(), and CommandContext::StartArray().
Referenced by ApplyInner().
|
private |
Definition at line 635 of file GetInfoCommand.cpp.
References CommandContext::AddItem(), CommandContext::EndStruct(), ViewInfo::Get(), CommandContext::project, ViewInfo::selectedRegion, and CommandContext::StartStruct().
Referenced by ApplyInner().
|
private |
Definition at line 478 of file GetInfoCommand.cpp.
References CommandContext::AddBool(), CommandContext::AddItem(), CommandContext::EndArray(), CommandContext::EndStruct(), TrackFocus::Get(), TrackList::Get(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Get(), WaveformScale::Get(), WaveformScale::GetDisplayBounds(), WaveTrack::GetEndTime(), WaveTrack::GetMute(), WaveTrack::GetPan(), WaveTrack::GetSolo(), WaveTrack::GetStartTime(), WaveTrack::GetVolume(), WaveTrack::NChannels(), CommandContext::project, CommandContext::StartArray(), CommandContext::StartStruct(), and tracks.
Referenced by ApplyInner().
|
overridevirtual |
Visit settings, if defined. false means no defined settings. Default implementation returns false
Reimplemented from AudacityCommand.
Definition at line 125 of file GetInfoCommand.cpp.
References S.
|
overridevirtual |
Visit settings, if defined. false means no defined settings. Default implementation returns false
Reimplemented from AudacityCommand.
Definition at line 122 of file GetInfoCommand.cpp.
References S.
| bool GetInfoCommand::VisitSettings | ( | SettingsVisitorBase< Const > & | S | ) |
| int GetInfoCommand::mFormat |
Definition at line 49 of file GetInfoCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
| int GetInfoCommand::mInfoType |
Definition at line 48 of file GetInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
|
static |
Definition at line 32 of file GetInfoCommand.h.
Referenced by GetSymbol().