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

Function GetVersionForDisplay

src/effects/EffectUI.cpp:641–648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639
640namespace {
641wxString GetVersionForDisplay(const EffectDefinitionInterface &definition)
642{
643 static const auto specialVersion = XO("n/a");
644 auto result = definition.GetVersion();
645 if (result == specialVersion.MSGID())
646 result = specialVersion.Translation();
647 return result;
648}
649}
650
651void EffectUIHost::OnMenu(wxCommandEvent & WXUNUSED(evt))

Callers 1

OnMenuMethod · 0.85

Calls 3

MSGIDMethod · 0.80
TranslationMethod · 0.80
GetVersionMethod · 0.45

Tested by

no test coverage detected