aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/baremetal/idebugserverprovider.h
diff options
context:
space:
mode:
authorDenis Shienkov <[email protected]>2019-11-24 11:53:49 +0300
committerDenis Shienkov <[email protected]>2019-11-25 13:03:10 +0000
commitd94636f8f9baa3f7c3a69aca4a8689d262873697 (patch)
tree62416c5cb0eff3bf250e6661e2365688aa1a0100 /src/plugins/baremetal/idebugserverprovider.h
parente2a9cd81dda804b03d2aa521b48a2beecf80f460 (diff)
BareMetal: Allow IDebugServerProvider to create own runner
It is more correct way, because only the server providers know about own runners. Change-Id: I645f4696a5d9738d9cd578d642389124a0b0de60 Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/baremetal/idebugserverprovider.h')
-rw-r--r--src/plugins/baremetal/idebugserverprovider.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/baremetal/idebugserverprovider.h b/src/plugins/baremetal/idebugserverprovider.h
index 78d414d7e05..638b997bff3 100644
--- a/src/plugins/baremetal/idebugserverprovider.h
+++ b/src/plugins/baremetal/idebugserverprovider.h
@@ -45,12 +45,12 @@ class DebuggerRunTool;
}
namespace ProjectExplorer {
+class DeviceProcess;
class IDevice;
class RunControl;
-class DeviceProcess;
+class RunWorker;
}
-
namespace BareMetal {
namespace Internal {
@@ -81,8 +81,8 @@ public:
virtual bool aboutToRun(Debugger::DebuggerRunTool *runTool,
QString &errorMessage) const = 0;
- virtual void addTargetRunner(Debugger::DebuggerRunTool *runTool,
- ProjectExplorer::RunControl *runControl) const = 0;
+ virtual ProjectExplorer::RunWorker *targetRunner(
+ ProjectExplorer::RunControl *runControl) const = 0;
virtual void updateDevice(ProjectExplorer::IDevice *dev) const = 0;
virtual bool isValid() const = 0;