MCPcopy Create free account
hub / github.com/audacity/audacity / GetCommandTip

Method GetCommandTip

src/EffectAndCommandPluginManager.cpp:88–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88TranslatableString
89EffectAndCommandPluginManager::GetCommandTip(const PluginID& ID)
90{
91 if (auto pEff = EffectManager::Get().GetEffect(ID))
92 return pEff->GetDefinition().GetDescription();
93 AudacityCommand* pCom = GetAudacityCommand(ID);
94 if (pCom)
95 return pCom->GetDescription();
96
97 return {};
98}
99
100void EffectAndCommandPluginManager::GetCommandDefinition(
101 const PluginID& ID, const CommandContext& context, int flags)

Callers

nothing calls this directly

Calls 3

GetFunction · 0.85
GetEffectMethod · 0.45
GetDescriptionMethod · 0.45

Tested by

no test coverage detected