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

Method GetPluginById

src/client/plugins/ct_plugin_manager.cpp:154–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152 }
153
154 ClientPluginInterface* ClientPluginManager::GetPluginById(const std::string& id) {
155 if (!plugins_.contains(id)) {
156 return nullptr;
157 }
158 return plugins_.at(id);
159 }
160
161 MediaRecordPluginClientInterface* ClientPluginManager::GetMediaRecordPlugin() {
162 auto plugin = GetPluginById(kClientMediaRecordPluginId);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected