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

Method getIconFileId

lib/MultiIconPlugin/src/MultiIconPlugin.cpp:296–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296uint8_t MultiIconPlugin::getIconFileId(uint8_t slotId) const
297{
298 FileMgrService::FileId fileId = FileMgrService::FILE_ID_INVALID;
299 MutexGuard<MutexRecursive> guard(m_mutex);
300
301 if (_MultiIconPlugin::View::MAX_ICON_SLOTS > slotId)
302 {
303 fileId = m_slots[slotId].fileId;
304 }
305
306 return fileId;
307}
308
309bool MultiIconPlugin::loadIcon(uint8_t slotId, FileMgrService::FileId fileId)
310{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected