From 59535078285d46d88ca4287a9edae803a1b9150d Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 21 Apr 2017 11:39:01 +0200 Subject: RemoteLinux: Base AbstractRemotetLinuxRunSupport on PE::TargetSupport This essentially just puts the data members and most of the original interface on the proper, i.e. the 'target', side of the tool/target divide. Since the SimpleTargetRunner base already has an ApplicationLauncher member, this can be used directly. State handling and coordination between tool and target runner parts stays as before for now, with unchanged 'custom' transition logic. The plan here is to remove the custom state handling later, including the two remaining cases of direct targetRunner->toolRunner calling (startExecution, and adapterSetupFailed) for which this patch here temporarily uses signal/slot connections. Change-Id: I664f2e333b48b582befd0531a17d4008acac7c4c Reviewed-by: Christian Kandeler --- src/plugins/projectexplorer/runconfiguration.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/plugins/projectexplorer/runconfiguration.cpp') diff --git a/src/plugins/projectexplorer/runconfiguration.cpp b/src/plugins/projectexplorer/runconfiguration.cpp index 168d164c2a..1a84786615 100644 --- a/src/plugins/projectexplorer/runconfiguration.cpp +++ b/src/plugins/projectexplorer/runconfiguration.cpp @@ -1189,6 +1189,11 @@ void TargetRunner::appendMessage(const QString &msg, OutputFormat format) m_runControl->appendMessage(msg, format); } +IDevice::ConstPtr TargetRunner::device() const +{ + return m_runControl->device(); +} + // ToolRunner -- cgit v1.2.3