diff options
author | hjk <hjk@qt.io> | 2017-03-01 19:14:09 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2017-03-03 12:03:04 +0000 |
commit | d5c8db67ab99693d27fa4e4f96e82249b919f26f (patch) | |
tree | d6b6377a9f75e95bfd58dddf8b1062fcaa354ec8 /src/plugins/projectexplorer/applicationlauncher.h | |
parent | 57abac6a860b5b9d4fdf47d6396a3e9b3ae2c686 (diff) |
ProjectExplorer: Hide ApplicationLauncher private functions in pimpl
In preparation of the merge with DeviceApplicationRunner.
Change-Id: I455e7aba255fe760e3186225cc97ccd9214b1164
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/applicationlauncher.h')
-rw-r--r-- | src/plugins/projectexplorer/applicationlauncher.h | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/src/plugins/projectexplorer/applicationlauncher.h b/src/plugins/projectexplorer/applicationlauncher.h index 8e7827f191..7d3762c339 100644 --- a/src/plugins/projectexplorer/applicationlauncher.h +++ b/src/plugins/projectexplorer/applicationlauncher.h @@ -31,10 +31,12 @@ #include <QProcess> +namespace Utils { class ProcessHandle; } + namespace ProjectExplorer { -struct ApplicationLauncherPrivate; -class StandardRunnable; +class Runnable; +namespace Internal { class ApplicationLauncherPrivate; } // Documentation inside. class PROJECTEXPLORER_EXPORT ApplicationLauncher : public QObject @@ -51,7 +53,7 @@ public: ~ApplicationLauncher() override; void setProcessChannelMode(QProcess::ProcessChannelMode mode); - void start(const ProjectExplorer::StandardRunnable &runnable); + void start(const Runnable &runnable); void stop(); bool isRunning() const; qint64 applicationPID() const; @@ -69,19 +71,7 @@ signals: void error(QProcess::ProcessError error); private: - void handleProcessStarted(); - void guiProcessError(); - void consoleProcessError(const QString &error); - void readStandardOutput(); - void readStandardError(); -#ifdef Q_OS_WIN - void cannotRetrieveDebugOutput(); -#endif - void checkDebugOutput(qint64 pid, const QString &message); - void processDone(int, QProcess::ExitStatus); - void bringToForeground(); - - ApplicationLauncherPrivate *d; + Internal::ApplicationLauncherPrivate *d; }; } // namespace ProjectExplorer |