diff options
author | hjk <hjk@theqtcompany.com> | 2016-01-27 16:56:36 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2016-01-28 11:35:51 +0000 |
commit | d5ecd4cf8b4c8bf98afeac5fe2f723de5027a1b2 (patch) | |
tree | ea262639092236f3b32da733744f9df35fb52e13 /src/plugins/projectexplorer/applicationlauncher.h | |
parent | 9ffae7f4ba3d789e9c188133d877df66a8b57a9f (diff) |
ProjectExplorer: Use StandardRunnable in ApplicationLauncher
Change-Id: I7092d748207762d3dbd6c69c01cc06c88cbf63d8
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/applicationlauncher.h')
-rw-r--r-- | src/plugins/projectexplorer/applicationlauncher.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/plugins/projectexplorer/applicationlauncher.h b/src/plugins/projectexplorer/applicationlauncher.h index 67e5b679d7..da3b258640 100644 --- a/src/plugins/projectexplorer/applicationlauncher.h +++ b/src/plugins/projectexplorer/applicationlauncher.h @@ -32,10 +32,10 @@ #include <QProcess> -namespace Utils { class Environment; } - namespace ProjectExplorer { + struct ApplicationLauncherPrivate; +class StandardRunnable; // Documentation inside. class PROJECTEXPLORER_EXPORT ApplicationLauncher : public QObject @@ -51,14 +51,8 @@ public: explicit ApplicationLauncher(QObject *parent = 0); ~ApplicationLauncher(); - void setWorkingDirectory(const QString &dir); - QString workingDirectory() const; - void setEnvironment(const Utils::Environment &env); - void setProcessChannelMode(QProcess::ProcessChannelMode mode); - - void start(Mode mode, const QString &program, - const QString &args = QString()); + void start(const ProjectExplorer::StandardRunnable &runnable); void stop(); bool isRunning() const; qint64 applicationPID() const; |