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

Method getConfiguration

lib/GrabViaRestPlugin/src/GrabViaRestPlugin.cpp:386–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384 *****************************************************************************/
385
386void GrabViaRestPlugin::getConfiguration(JsonObject& jsonCfg) const
387{
388 MutexGuard<MutexRecursive> guard(m_mutex);
389
390 jsonCfg["method"] = m_method;
391 jsonCfg["url"] = m_url;
392 jsonCfg["filter"] = m_filter;
393 jsonCfg["iconFileId"] = m_iconFileId;
394 jsonCfg["format"] = m_format;
395 jsonCfg["multiplier"] = m_multiplier;
396 jsonCfg["offset"] = m_offset;
397}
398
399bool GrabViaRestPlugin::setConfiguration(const JsonObjectConst& jsonCfg)
400{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected