Audacity 3.2.0
|
#include <BatchCommands.h>
Classes | |
struct | Entry |
Public Types | |
using | Entries = std::vector< Entry > |
Public Member Functions | |
MacroCommandsCatalog (const AudacityProject *project) | |
Entries::const_iterator | ByFriendlyName (const TranslatableString &friendlyName) const |
Entries::const_iterator | ByCommandId (const CommandID &commandId) const |
Entries::const_iterator | ByTranslation (const wxString &translation) const |
const Entry & | operator[] (size_t index) const |
Entries::const_iterator | begin () const |
Entries::const_iterator | end () const |
Private Attributes | |
Entries | mCommands |
Definition at line 29 of file BatchCommands.h.
using MacroCommandsCatalog::Entries = std::vector<Entry> |
Definition at line 36 of file BatchCommands.h.
MacroCommandsCatalog::MacroCommandsCatalog | ( | const AudacityProject * | project | ) |
Definition at line 305 of file BatchCommands.cpp.
References EffectManager::Get(), PluginManager::Get(), CommandManager::Get(), PluginManager::GetCommandIdentifier(), TranslatableString::Join(), label, manager, mCommands, MacroCommandsCatalog::Entry::name, PluginManager::PluginsOfType(), PluginTypeAudacityCommand, PluginTypeEffect, project, TranslatableString::Strip(), ComponentInterfaceSymbol::StrippedTranslation(), TranslatableString::Translation(), wxT(), and XO().
|
inline |
Definition at line 51 of file BatchCommands.h.
References mCommands.
Referenced by MacroCommandDialog::SetCommandAndParams().
auto MacroCommandsCatalog::ByCommandId | ( | const CommandID & | commandId | ) | const |
Definition at line 428 of file BatchCommands.cpp.
References details::begin(), details::end(), and entry.
Referenced by MacrosWindow::AddItem(), BatchEvalCommand::Apply(), MacroCommands::ApplyMacro(), and MacroCommandDialog::SetCommandAndParams().
auto MacroCommandsCatalog::ByFriendlyName | ( | const TranslatableString & | friendlyName | ) | const |
Definition at line 409 of file BatchCommands.cpp.
References details::begin(), details::end(), MacroCommandsCatalog::Entry::name, and ComponentInterfaceSymbol::StrippedTranslation().
auto MacroCommandsCatalog::ByTranslation | ( | const wxString & | translation | ) | const |
Definition at line 438 of file BatchCommands.cpp.
References details::begin(), details::end(), and entry.
Referenced by MacrosWindow::OnListSelected().
|
inline |
Definition at line 52 of file BatchCommands.h.
References mCommands.
Referenced by MacrosWindow::AddItem(), BatchEvalCommand::Apply(), MacroCommands::ApplyMacro(), MacrosWindow::OnListSelected(), and MacroCommandDialog::SetCommandAndParams().
|
inline |
|
private |
Definition at line 56 of file BatchCommands.h.
Referenced by begin(), end(), MacroCommandsCatalog(), and operator[]().