MCPcopy Create free account
hub / github.com/VCVRack/Rack / getModuleInfo

Function getModuleInfo

src/settings.cpp:77–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76
77ModuleInfo* getModuleInfo(const std::string& pluginSlug, const std::string& moduleSlug) {
78 auto pluginIt = moduleInfos.find(pluginSlug);
79 if (pluginIt == moduleInfos.end())
80 return NULL;
81 auto moduleIt = pluginIt->second.find(moduleSlug);
82 if (moduleIt == pluginIt->second.end())
83 return NULL;
84 return &moduleIt->second;
85}
86
87
88bool isModuleWhitelisted(const std::string& pluginSlug, const std::string& moduleSlug) {

Callers 4

isFavoriteMethod · 0.85
drawMethod · 0.85
isModelVisibleMethod · 0.85
refreshMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected