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

Method GetDefaultKeyFromName

libraries/lib-menus/CommandManager.cpp:1113–1120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1111}
1112
1113NormalizedKeyString CommandManager::GetDefaultKeyFromName(const CommandID &name)
1114const
1115{
1116 if (auto iter = mCommandNameHash.find(name);
1117 iter != mCommandNameHash.end())
1118 return iter->second->defaultKey;
1119 return {};
1120}
1121
1122bool CommandManager::HandleXMLTag(const std::string_view& tag, const AttributesList &attrs)
1123{

Callers 1

OnSetMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected