| 464 | } |
| 465 | |
| 466 | bool LightpackPluginInterface::SetCountLeds(QString sessionKey, int countLeds) |
| 467 | { |
| 468 | if (lockSessionKeys.isEmpty()) return false; |
| 469 | if (lockSessionKeys[0]!=sessionKey) return false; |
| 470 | |
| 471 | Settings::setNumberOfLeds(Settings::getConnectedDevice(), countLeds); |
| 472 | emit updateCountLeds(countLeds); |
| 473 | return true; |
| 474 | |
| 475 | } |
| 476 | |
| 477 | int LightpackPluginInterface::GetCountLeds() |
| 478 | { |
no outgoing calls
no test coverage detected