| 339 | } |
| 340 | |
| 341 | bool 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 | |
| 353 | bool LightpackPluginInterface::SetProfile(QString sessionKey,QString profile) |
| 354 | { |
no outgoing calls
no test coverage detected