MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / installToAutoSlot

Method installToAutoSlot

src/Plugin/PluginMgr.cpp:435–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435bool PluginMgr::installToAutoSlot(IPluginMaintenance* plugin)
436{
437 bool status = false;
438
439 if (nullptr != plugin)
440 {
441 if (SlotList::SLOT_ID_INVALID == DisplayMgr::getInstance().installPlugin(plugin))
442 {
443 LOG_ERROR("Couldn't install plugin %s.", plugin->getName());
444 }
445 else
446 {
447 status = true;
448 }
449 }
450
451 return status;
452}
453
454bool PluginMgr::installToSlot(IPluginMaintenance* plugin, uint8_t slotId)
455{

Callers

nothing calls this directly

Calls 2

installPluginMethod · 0.80
getNameMethod · 0.45

Tested by

no test coverage detected