aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/android/androiddebugsupport.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2017-05-19 14:40:49 +0200
committerhjk <hjk@qt.io>2017-06-12 06:38:40 +0000
commit1d921ae0444f8fa9cf0ef7a26f342001112f243f (patch)
tree5d84d28ff44f298f8af1d41740fa3be7a47ec284 /src/plugins/android/androiddebugsupport.h
parent1a82bedc8b34db2a43e59f408cade6fe22f064b4 (diff)
Android: Convert into a RunWorker based setup
This moves all of the RunControl implementation into a single RunWorker, not yet splitting it up into separate RunWorkers which is the final goal of this series. Change-Id: I7373105603505aa4fffd7fe5ff0145f0128b34bc Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/android/androiddebugsupport.h')
-rw-r--r--src/plugins/android/androiddebugsupport.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/src/plugins/android/androiddebugsupport.h b/src/plugins/android/androiddebugsupport.h
index 8e07216901..7486e537ae 100644
--- a/src/plugins/android/androiddebugsupport.h
+++ b/src/plugins/android/androiddebugsupport.h
@@ -25,31 +25,24 @@
#pragma once
+#include "androidrunner.h"
#include <debugger/debuggerruncontrol.h>
-#include "androidrunconfiguration.h"
-
namespace Android {
namespace Internal {
-class AndroidRunner;
-
class AndroidDebugSupport : public Debugger::DebuggerRunTool
{
Q_OBJECT
public:
- AndroidDebugSupport(ProjectExplorer::RunControl *runControl,
- const Debugger::DebuggerStartParameters &sp,
- QString *errorMessage);
+ AndroidDebugSupport(ProjectExplorer::RunControl *runControl);
- static ProjectExplorer::RunControl *createDebugRunControl(ProjectExplorer::RunConfiguration *runConfig,
- QString *errorMessage);
+ void start() override;
+ void stop() override;
private:
- void handleRemoteProcessStarted(Utils::Port gdbServerPort, Utils::Port qmlPort);
-
- AndroidRunner * const m_runner;
+ AndroidRunner *m_runner = nullptr;
};
} // namespace Internal