aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/trk/launcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/trk/launcher.h')
-rw-r--r--src/shared/trk/launcher.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/trk/launcher.h b/src/shared/trk/launcher.h
index 764264c044..c70b05c879 100644
--- a/src/shared/trk/launcher.h
+++ b/src/shared/trk/launcher.h
@@ -98,6 +98,12 @@ public:
static QByteArray startProcessMessage(const QString &executable,
const QStringList &arguments);
+ // Parse a TrkNotifyStopped message
+ static bool parseNotifyStopped(const QByteArray &a,
+ uint *pid, uint *tid, uint *address,
+ QString *why = 0);
+ // Helper message
+ static QString msgStopped(uint pid, uint tid, uint address, const QString &why);
signals:
void copyingStarted();
@@ -114,9 +120,11 @@ signals:
void applicationOutputReceived(const QString &output);
void copyProgress(int percent);
void stateChanged(int);
+ void processStopped(uint pc, uint pid, uint tid, const QString& reason);
public slots:
void terminate();
+ void resumeProcess(uint pid, uint tid);
private slots:
void handleResult(const trk::TrkResult &data);