| 414 | } |
| 415 | |
| 416 | bool LightpackPluginInterface::NewProfile(QString sessionKey, QString profile) |
| 417 | { |
| 418 | if (lockSessionKeys.isEmpty()) return false; |
| 419 | if (lockSessionKeys[0]!=sessionKey) return false; |
| 420 | |
| 421 | Settings::loadOrCreateProfile(profile); |
| 422 | DEBUG_LOW_LEVEL << Q_FUNC_INFO << "OK:" << profile; |
| 423 | emit updateProfile(profile); |
| 424 | |
| 425 | return true; |
| 426 | } |
| 427 | |
| 428 | bool LightpackPluginInterface::DeleteProfile(QString sessionKey, QString profile) |
| 429 | { |
no outgoing calls
no test coverage detected