![]() |
Audacity 3.2.0
|
Classes | |
struct | EffectsMenuGroupsHandler |
struct | MenuSectionBuilder |
Typedefs | |
using | EffectsMenuGroups = std::vector< std::pair< TranslatableString, std::vector< TranslatableString > > > |
Enumerations | |
enum class | GroupBy { Publisher , Type , TypePublisher } |
enum class | SortBy { Name , PublisherName , TypeName } |
using anonymous_namespace{MenuHelper.cpp}::EffectsMenuGroups = typedef std::vector<std::pair<TranslatableString, std::vector<TranslatableString> >> |
Definition at line 12 of file MenuHelper.cpp.
|
strong |
Enumerator | |
---|---|
Publisher | |
Type | |
TypePublisher |
Definition at line 23 of file MenuHelper.cpp.
|
strong |
Enumerator | |
---|---|
Name | |
PublisherName | |
TypeName |
Definition at line 30 of file MenuHelper.cpp.
void anonymous_namespace{MenuHelper.cpp}::AddEffectMenuItemGroup | ( | MenuHelper::Group & | table, |
const TranslatableStrings & | names, | ||
const PluginIDs & | plugs, | ||
const std::vector< CommandFlag > & | flags, | ||
void(*)(const CommandContext &) | onMenuCommand | ||
) |
Definition at line 132 of file MenuHelper.cpp.
References CommandManager::Options::AllowInMacros(), MenuTable::Command, PluginManager::Get(), PluginDescriptor::GetID(), PluginDescriptor::GetPath(), PluginManager::GetPlugin(), PluginDescriptor::GetPluginType(), CommandManager::Options::IsEffect(), MenuTable::Menu, name, names, CommandManager::Options::Parameter(), PluginTypeEffect, Composite::Base< Component, ComponentPointer, ComponentArgs >::push_back(), TranslatableString::Translation(), and Verbatim().
Referenced by AddGroupedEffectMenuItems(), AddSortedEffectMenuItems(), and MakeAddGroupItems().
void anonymous_namespace{MenuHelper.cpp}::AddGroupedEffectMenuItems | ( | MenuHelper::Group & | table, |
std::vector< const PluginDescriptor * > & | plugs, | ||
CommandFlag | batchflags, | ||
GroupBy | groupBy, | ||
void(*)(const CommandContext &) | onMenuCommand | ||
) |
Definition at line 314 of file MenuHelper.cpp.
References AddEffectMenuItemGroup(), FixBatchFlags(), EffectManager::Get(), MenuTable::Menu, MenuOrItems(), names, Composite::Base< Component, ComponentPointer, ComponentArgs >::push_back(), and XO().
Referenced by MenuHelper::PopulateEffectsMenu().
void anonymous_namespace{MenuHelper.cpp}::AddSortedEffectMenuItems | ( | MenuHelper::Group & | table, |
std::vector< const PluginDescriptor * > & | plugs, | ||
CommandFlag | batchflags, | ||
SortBy | sortBy, | ||
void(*)(const CommandContext &) | onMenuCommand | ||
) |
Definition at line 202 of file MenuHelper.cpp.
References AddEffectMenuItemGroup(), TranslatableString::empty(), FixBatchFlags(), EffectManager::Get(), EffectManager::GetEffectFamilyName(), PluginDescriptor::GetID(), PluginDescriptor::GetSymbol(), EffectManager::GetVendorName(), PluginDescriptor::IsEffectDefault(), PluginDescriptor::IsEffectInteractive(), ComponentInterfaceSymbol::Msgid(), name, and XO().
Referenced by MenuHelper::PopulateEffectsMenu().
bool anonymous_namespace{MenuHelper.cpp}::ComapareEffectsByTypeAndPublisher | ( | const PluginDescriptor * | a, |
const PluginDescriptor * | b | ||
) |
Definition at line 482 of file MenuHelper.cpp.
References EffectManager::Get(), PluginDescriptor::GetID(), PluginDescriptor::GetPath(), PluginDescriptor::GetSymbol(), ComponentInterfaceSymbol::Translation(), and XO().
Referenced by MenuHelper::PopulateEffectsMenu().
bool anonymous_namespace{MenuHelper.cpp}::CompareEffectsByName | ( | const PluginDescriptor * | a, |
const PluginDescriptor * | b | ||
) |
Definition at line 394 of file MenuHelper.cpp.
References PluginDescriptor::GetPath(), PluginDescriptor::GetSymbol(), and ComponentInterfaceSymbol::Translation().
Referenced by MenuHelper::PopulateEffectsMenu().
bool anonymous_namespace{MenuHelper.cpp}::CompareEffectsByPublisher | ( | const PluginDescriptor * | a, |
const PluginDescriptor * | b | ||
) |
Definition at line 401 of file MenuHelper.cpp.
References EffectManager::Get(), PluginDescriptor::GetID(), PluginDescriptor::GetPath(), PluginDescriptor::GetSymbol(), ComponentInterfaceSymbol::Translation(), and XO().
Referenced by MenuHelper::PopulateEffectsMenu().
bool anonymous_namespace{MenuHelper.cpp}::CompareEffectsByPublisherAndName | ( | const PluginDescriptor * | a, |
const PluginDescriptor * | b | ||
) |
Definition at line 421 of file MenuHelper.cpp.
References EffectManager::Get(), PluginDescriptor::GetID(), PluginDescriptor::GetPath(), PluginDescriptor::GetSymbol(), PluginDescriptor::IsEffectDefault(), and ComponentInterfaceSymbol::Translation().
Referenced by MenuHelper::PopulateEffectsMenu().
bool anonymous_namespace{MenuHelper.cpp}::CompareEffectsByType | ( | const PluginDescriptor * | a, |
const PluginDescriptor * | b | ||
) |
Definition at line 464 of file MenuHelper.cpp.
References EffectManager::Get(), PluginDescriptor::GetID(), PluginDescriptor::GetPath(), PluginDescriptor::GetSymbol(), ComponentInterfaceSymbol::Translation(), and XO().
Referenced by MenuHelper::PopulateEffectsMenu().
bool anonymous_namespace{MenuHelper.cpp}::CompareEffectsByTypeAndName | ( | const PluginDescriptor * | a, |
const PluginDescriptor * | b | ||
) |
Definition at line 440 of file MenuHelper.cpp.
References EffectManager::Get(), PluginDescriptor::GetID(), PluginDescriptor::GetPath(), PluginDescriptor::GetSymbol(), PluginDescriptor::IsEffectDefault(), ComponentInterfaceSymbol::Translation(), and XO().
CommandFlag anonymous_namespace{MenuHelper.cpp}::FixBatchFlags | ( | CommandFlag | batchflags, |
const PluginDescriptor * | plug | ||
) |
Definition at line 124 of file MenuHelper.cpp.
References PluginDescriptor::GetSymbol(), ComponentInterfaceSymbol::Msgid(), NoiseReductionTimeSelectedFlag(), and XO().
Referenced by AddGroupedEffectMenuItems(), AddSortedEffectMenuItems(), and MakeAddGroupItems().
bool anonymous_namespace{MenuHelper.cpp}::IsBundledPlugin | ( | const PluginDescriptor * | plug | ) |
Definition at line 531 of file MenuHelper.cpp.
References PluginDescriptor::GetPath(), IsDefaultPlugin(), and FileNames::ResourcesDir().
Referenced by MenuHelper::PopulateEffectsMenu().
bool anonymous_namespace{MenuHelper.cpp}::IsDefaultPlugin | ( | const PluginDescriptor * | plug | ) |
Definition at line 516 of file MenuHelper.cpp.
References PluginDescriptor::GetSymbol(), PluginDescriptor::IsEffectDefault(), and NYQUIST_PROMPT_ID.
Referenced by IsBundledPlugin(), and MenuHelper::PopulateEffectsMenu().
bool anonymous_namespace{MenuHelper.cpp}::IsEnabledPlugin | ( | const PluginDescriptor * | plug | ) |
Definition at line 506 of file MenuHelper.cpp.
References PluginManager::Get(), EffectManager::Get(), PluginDescriptor::GetID(), PluginDescriptor::IsEnabled(), and EffectManager::IsHidden().
Referenced by MakeGroupsFilter(), and MenuHelper::PopulateEffectsMenu().
EffectsMenuGroups anonymous_namespace{MenuHelper.cpp}::LoadEffectsMenuGroups | ( | const wxString & | path | ) |
Definition at line 112 of file MenuHelper.cpp.
References cloud::audiocom::anonymous_namespace{AuthorizationHandler.cpp}::handler, and XMLFileReader::Parse().
Referenced by MenuHelper::PopulateEffectsMenu().
auto anonymous_namespace{MenuHelper.cpp}::MakeAddGroupItems | ( | const EffectsMenuGroups & | list, |
CommandFlag | batchflags, | ||
void(*)(const CommandContext &) | onMenuCommand | ||
) | -> auto |
Definition at line 267 of file MenuHelper.cpp.
References AddEffectMenuItemGroup(), FixBatchFlags(), MenuOrItems(), name, Composite::Base< Component, ComponentPointer, ComponentArgs >::push_back(), TranslationLess(), and XO().
Referenced by MenuHelper::PopulateEffectsMenu().
auto anonymous_namespace{MenuHelper.cpp}::MakeGroupsFilter | ( | const EffectsMenuGroups & | list | ) | -> auto |
Definition at line 541 of file MenuHelper.cpp.
References IsEnabledPlugin(), and name.
Referenced by MenuHelper::PopulateEffectsMenu().
auto anonymous_namespace{MenuHelper.cpp}::MenuOrItems | ( | const TranslatableString & | label | ) | -> std::unique_ptr<MenuHelper::Group> |
Definition at line 257 of file MenuHelper.cpp.
References TranslatableString::empty(), MenuTable::Items, label, and MenuTable::Menu.
Referenced by AddGroupedEffectMenuItems(), and MakeAddGroupItems().