| 433 | } |
| 434 | |
| 435 | bool 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 | |
| 454 | bool PluginMgr::installToSlot(IPluginMaintenance* plugin, uint8_t slotId) |
| 455 | { |
nothing calls this directly
no test coverage detected