diff options
author | hjk <hjk@qt.io> | 2017-04-27 09:53:07 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2017-04-28 12:42:29 +0000 |
commit | 6e990f96c66b40fcf73db65a857f20f8a1dc4389 (patch) | |
tree | 382228cfbc965e427c7128aaf8638022cb33e88d /src/plugins/android/androiddebugsupport.h | |
parent | 6e2756244d95288179c019ecd0800cafcaf0113d (diff) |
Debugger: Remove DebuggerRunControl
Use plain RunControl + DebuggerRunTool combo instead.
Change-Id: Ib71b5eab50da667b9d71dcc6689d2643ad8ecdee
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/android/androiddebugsupport.h')
-rw-r--r-- | src/plugins/android/androiddebugsupport.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/plugins/android/androiddebugsupport.h b/src/plugins/android/androiddebugsupport.h index 1dba6e7d70..8e07216901 100644 --- a/src/plugins/android/androiddebugsupport.h +++ b/src/plugins/android/androiddebugsupport.h @@ -25,30 +25,29 @@ #pragma once -#include <projectexplorer/runconfiguration.h> +#include <debugger/debuggerruncontrol.h> #include "androidrunconfiguration.h" -namespace Debugger { class DebuggerRunControl; } - namespace Android { namespace Internal { class AndroidRunner; -class AndroidDebugSupport : public ProjectExplorer::ToolRunner +class AndroidDebugSupport : public Debugger::DebuggerRunTool { Q_OBJECT public: - explicit AndroidDebugSupport(ProjectExplorer::RunControl *runControl); + AndroidDebugSupport(ProjectExplorer::RunControl *runControl, + const Debugger::DebuggerStartParameters &sp, + QString *errorMessage); static ProjectExplorer::RunControl *createDebugRunControl(ProjectExplorer::RunConfiguration *runConfig, QString *errorMessage); private: void handleRemoteProcessStarted(Utils::Port gdbServerPort, Utils::Port qmlPort); - Debugger::DebuggerRunControl *runControl(); AndroidRunner * const m_runner; }; |