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

Method getTopic

lib/CountdownPlugin/src/CountdownPlugin.cpp:74–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74bool CountdownPlugin::getTopic(const String& topic, JsonObject& value) const
75{
76 bool isSuccessful = false;
77
78 if (true == topic.equals(TOPIC_CONFIG))
79 {
80 getConfiguration(value);
81 isSuccessful = true;
82 }
83
84 return isSuccessful;
85}
86
87bool CountdownPlugin::setTopic(const String& topic, const JsonObjectConst& value)
88{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected