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

Method NewProfile

Software/src/LightpackPluginInterface.cpp:416–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414}
415
416bool 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
428bool LightpackPluginInterface::DeleteProfile(QString sessionKey, QString profile)
429{

Callers 1

clientProcessCommandsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected