MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / GetPluginById

Method GetPluginById

src/render/plugins/plugin_manager.cpp:193–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191 }
192
193 GrPluginInterface* PluginManager::GetPluginById(const std::string& id) {
194 if (!plugins_.contains(id)) {
195 return nullptr;
196 }
197 return plugins_.at(id);
198 }
199
200 GrVideoEncoderPlugin* PluginManager::GetFFmpegEncoderPlugin() {
201 auto plugin = GetPluginById(kFFmpegEncoderPluginId);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected