aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/applicationlauncher.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2017-03-09 14:13:13 +0100
committerhjk <hjk@qt.io>2017-03-10 15:14:12 +0000
commit7826ec7ed5c44cf6bc5c80f10c8588dff8372c5d (patch)
tree926a70a8e3228e480b6b5494cd3526c05d263b1e /src/plugins/projectexplorer/applicationlauncher.h
parent5090c2929a7ccf20ebe379bb572fd5bcbb10f8e1 (diff)
ProjectExplorer: Merge ApplicationLauncher and DeviceApplicationRunner
Treat ApplicationLauncher as a special case of a DeviceApplicationRunner with an implicit desktop device. As a first step, lump the two implementations together. Change-Id: Ifa3ea3f38d320023050378555e2d256e762b6683 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/applicationlauncher.h')
-rw-r--r--src/plugins/projectexplorer/applicationlauncher.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/applicationlauncher.h b/src/plugins/projectexplorer/applicationlauncher.h
index ccf967ba92..354281772f 100644
--- a/src/plugins/projectexplorer/applicationlauncher.h
+++ b/src/plugins/projectexplorer/applicationlauncher.h
@@ -27,6 +27,8 @@
#include "projectexplorer_export.h"
+#include "devicesupport/idevice.h"
+
#include <utils/outputformat.h>
#include <QProcess>
@@ -54,6 +56,7 @@ public:
void setProcessChannelMode(QProcess::ProcessChannelMode mode);
void start(const Runnable &runnable);
+ void start(const Runnable &runnable, const IDevice::ConstPtr &device);
void stop();
bool isRunning() const;
qint64 applicationPID() const;
@@ -70,6 +73,13 @@ signals:
void processExited(int exitCode, QProcess::ExitStatus);
void error(QProcess::ProcessError error);
+ void remoteStdout(const QByteArray &output);
+ void remoteStderr(const QByteArray &output);
+ void reportProgress(const QString &progressOutput);
+ void reportError(const QString &errorOutput);
+ void remoteProcessStarted();
+ void finished(bool success);
+
private:
Internal::ApplicationLauncherPrivate *d;
};