diff options
Diffstat (limited to 'tools/runonphone/trk/launcher.h')
-rw-r--r-- | tools/runonphone/trk/launcher.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/runonphone/trk/launcher.h b/tools/runonphone/trk/launcher.h index 472f234..8dc6ebe 100644 --- a/tools/runonphone/trk/launcher.h +++ b/tools/runonphone/trk/launcher.h @@ -111,6 +111,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(); @@ -128,11 +134,11 @@ signals: void applicationOutputReceived(const QString &output); void copyProgress(int percent); void stateChanged(int); - void stopped(uint pc, uint pid, uint tid, const QString& reason); + void processStopped(uint pc, uint pid, uint tid, const QString& reason); public slots: void terminate(); - void resume(uint pid, uint tid); + void resumeProcess(uint pid, uint tid); private slots: void handleResult(const trk::TrkResult &data); |