MCPcopy Create free account
hub / github.com/Atarity/Lightpack / SetSmooth

Method SetSmooth

Software/src/LightpackPluginInterface.cpp:341–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341bool LightpackPluginInterface::SetSmooth(QString sessionKey, int smooth)
342{
343 if (lockSessionKeys.isEmpty()) return false;
344 if (lockSessionKeys[0]!=sessionKey) return false;
345 if (smooth >= Profile::Device::SmoothMin && smooth <= Profile::Device::SmoothMax)
346 {
347 emit updateSmooth(smooth);
348 return true;
349 } else
350 return false;
351}
352
353bool LightpackPluginInterface::SetProfile(QString sessionKey,QString profile)
354{

Callers 1

clientProcessCommandsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected