diff options
author | hjk <hjk@qt.io> | 2017-04-21 11:39:01 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2017-04-26 12:02:03 +0000 |
commit | 59535078285d46d88ca4287a9edae803a1b9150d (patch) | |
tree | 3a03ce3ffeeadfeed60cde4a690d050cabf2b51f /src/plugins/projectexplorer/runconfiguration.cpp | |
parent | dce9aa217c0e9d16a0c45e9f0cae8585a9e9f15a (diff) |
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 <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/runconfiguration.cpp')
-rw-r--r-- | src/plugins/projectexplorer/runconfiguration.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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 |