MCPcopy Create free account
hub / github.com/awawa-dev/HyperHDR / componentStateHandler

Method componentStateHandler

sources/api/CallbackAPI.cpp:240–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240void CallbackAPI::componentStateHandler(hyperhdr::Components comp, bool state)
241{
242 QJsonObject data;
243 data["name"] = componentToIdString(comp);
244 data["enabled"] = state;
245
246 doCallback("components-update", QVariant(data));
247}
248
249#ifdef ENABLE_BONJOUR
250 void CallbackAPI::signalDiscoveryFoundServiceHandler(DiscoveryRecord::Service type, QList<DiscoveryRecord> records)

Callers

nothing calls this directly

Calls 1

componentToIdStringFunction · 0.85

Tested by

no test coverage detected