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

Method getConfiguration

lib/MultiIconPlugin/src/MultiIconPlugin.cpp:370–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368 *****************************************************************************/
369
370void MultiIconPlugin::getConfiguration(JsonObject& jsonCfg) const
371{
372 MutexGuard<MutexRecursive> guard(m_mutex);
373 JsonArray jsonSlots = jsonCfg.createNestedArray("slots");
374 uint8_t slotId;
375
376 for (slotId = 0U; slotId < _MultiIconPlugin::View::MAX_ICON_SLOTS; ++slotId)
377 {
378 (void)jsonSlots.add(m_slots[slotId].fileId);
379 }
380}
381
382bool MultiIconPlugin::setConfiguration(const JsonObjectConst& jsonCfg)
383{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected