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 MenuRegistry::Options::AllowInMacros(), MenuRegistry::Command, PluginManager::Get(), PluginDescriptor::GetID(), PluginDescriptor::GetPath(), PluginManager::GetPlugin(), PluginDescriptor::GetPluginType(), MenuRegistry::Options::IsEffect(), MenuRegistry::Menu, name, names, MenuRegistry::Options::Parameter(), PluginTypeEffect, Composite::Builder< Base, Derived, BaseArgs >::push_back(), 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(), TranslatableString::empty(), FixBatchFlags(), EffectManager::Get(), MenuRegistry::Items, label, MenuRegistry::Menu, names, Composite::Builder< Base, Derived, BaseArgs >::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 491 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 403 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 410 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 430 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 473 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 449 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 532 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 525 of file MenuHelper.cpp.
References PluginDescriptor::IsEffectDefault().
Referenced by IsBundledPlugin(), and MenuHelper::PopulateEffectsMenu().
bool anonymous_namespace{MenuHelper.cpp}::IsEnabledPlugin | ( | const PluginDescriptor * | plug | ) |
Definition at line 515 of file MenuHelper.cpp.
References EffectManager::Get(), PluginManager::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 audacity::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 257 of file MenuHelper.cpp.
References AddEffectMenuItemGroup(), FixBatchFlags(), MenuRegistry::Items, MenuRegistry::Menu, name, Composite::Builder< Base, Derived, BaseArgs >::push_back(), TranslationLess(), and XO().
Referenced by MenuHelper::PopulateEffectsMenu().
auto anonymous_namespace{MenuHelper.cpp}::MakeGroupsFilter | ( | const EffectsMenuGroups & | list | ) | -> auto |
Definition at line 542 of file MenuHelper.cpp.
References IsEnabledPlugin(), and name.
Referenced by MenuHelper::PopulateEffectsMenu().