Trk[TCF]: Proper exit handling

This commit is contained in:
Friedemann Kleint
2010-07-05 17:14:45 +02:00
parent 1ff095eec2
commit 9bb67101c5
3 changed files with 20 additions and 8 deletions

View File

@@ -689,6 +689,16 @@ void TcfTrkDevice::sendProcessTerminateCommand(const TcfTrkCallback &callBack,
sendTcfTrkMessage(MessageWithReply, ProcessesService, "terminate", data, callBack, cookie);
}
void TcfTrkDevice::sendRunControlTerminateCommand(const TcfTrkCallback &callBack,
const QByteArray &id,
const QVariant &cookie)
{
QByteArray data;
JsonInputStream str(data);
str << id;
sendTcfTrkMessage(MessageWithReply, RunControlService, "terminate", data, callBack, cookie);
}
// Non-standard: Remove executable from settings
void TcfTrkDevice::sendSettingsRemoveExecutableCommand(const QString &binaryIn,
unsigned uid,