diff options
author | hjk <hjk@qt.io> | 2017-03-28 18:19:00 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2017-03-30 10:11:02 +0000 |
commit | eee51e8c1d909e518ca175c87e4aebe76088ef2b (patch) | |
tree | 045093050bc79d15340cfdea4b93a18497b058f7 /src/plugins/android/androiddebugsupport.h | |
parent | c69b6f0ea9793aebd68d9c89d4c6f35d7baa9518 (diff) |
Android: Adapt to ProjectExplorer::ToolRunner introduction
Change-Id: I71cc25ef3daa0eee51a4c94285174e0f3b45d41f
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/android/androiddebugsupport.h')
-rw-r--r-- | src/plugins/android/androiddebugsupport.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/plugins/android/androiddebugsupport.h b/src/plugins/android/androiddebugsupport.h index 1b55002a86..1dba6e7d70 100644 --- a/src/plugins/android/androiddebugsupport.h +++ b/src/plugins/android/androiddebugsupport.h @@ -25,33 +25,31 @@ #pragma once +#include <projectexplorer/runconfiguration.h> + #include "androidrunconfiguration.h" namespace Debugger { class DebuggerRunControl; } -namespace ProjectExplorer { class RunControl; } - namespace Android { -class AndroidRunConfiguration; - namespace Internal { + class AndroidRunner; -class AndroidDebugSupport : public QObject +class AndroidDebugSupport : public ProjectExplorer::ToolRunner { Q_OBJECT public: - AndroidDebugSupport(AndroidRunConfiguration *runConfig, - Debugger::DebuggerRunControl *runControl); + explicit AndroidDebugSupport(ProjectExplorer::RunControl *runControl); - static ProjectExplorer::RunControl *createDebugRunControl(AndroidRunConfiguration *runConfig, + static ProjectExplorer::RunControl *createDebugRunControl(ProjectExplorer::RunConfiguration *runConfig, QString *errorMessage); private: void handleRemoteProcessStarted(Utils::Port gdbServerPort, Utils::Port qmlPort); + Debugger::DebuggerRunControl *runControl(); - Debugger::DebuggerRunControl *m_runControl; AndroidRunner * const m_runner; }; |