Introduce the concept of a "device process".
Provide a QProcess-like abstraction that can be used
to implement processes running locally or on a remote
device. Objects of a concrete class implementing the functionality
are created by IDevice objects.
Current implementations are:
- Local execution (QProcess-based), provided via the DesktopDevice.
- Remote execution via SSH.
- A specialized case of the former for remote Linux systems (provided by
LinuxDevice).
The latter is already being used in a number of places. As a result, lots of
code dealing with details such as setting the remote environment could be
moved to a central location. These things are no longer the concern of whoever
is wishing to run a remote process.
Change-Id: I919260ee6e77a020ca47226a4a534e7b8398106f
Reviewed-by:
hjk <hjk121@nokiamail.com>
Showing
- src/libs/ssh/sshremoteprocess.cpp 5 additions, 0 deletionssrc/libs/ssh/sshremoteprocess.cpp
- src/libs/ssh/sshremoteprocess.h 1 addition, 0 deletionssrc/libs/ssh/sshremoteprocess.h
- src/plugins/madde/maddedevice.cpp 12 additions, 0 deletionssrc/plugins/madde/maddedevice.cpp
- src/plugins/madde/maddedevice.h 1 addition, 0 deletionssrc/plugins/madde/maddedevice.h
- src/plugins/madde/maemorunconfiguration.cpp 0 additions, 18 deletionssrc/plugins/madde/maemorunconfiguration.cpp
- src/plugins/madde/maemorunconfiguration.h 0 additions, 2 deletionssrc/plugins/madde/maemorunconfiguration.h
- src/plugins/projectexplorer/devicesupport/desktopdevice.cpp 6 additions, 0 deletionssrc/plugins/projectexplorer/devicesupport/desktopdevice.cpp
- src/plugins/projectexplorer/devicesupport/desktopdevice.h 2 additions, 0 deletionssrc/plugins/projectexplorer/devicesupport/desktopdevice.h
- src/plugins/projectexplorer/devicesupport/desktopdeviceprocess.cpp 125 additions, 0 deletions...ns/projectexplorer/devicesupport/desktopdeviceprocess.cpp
- src/plugins/projectexplorer/devicesupport/desktopdeviceprocess.h 70 additions, 0 deletions...gins/projectexplorer/devicesupport/desktopdeviceprocess.h
- src/plugins/projectexplorer/devicesupport/deviceapplicationrunner.cpp 45 additions, 26 deletions...projectexplorer/devicesupport/deviceapplicationrunner.cpp
- src/plugins/projectexplorer/devicesupport/deviceapplicationrunner.h 13 additions, 3 deletions...s/projectexplorer/devicesupport/deviceapplicationrunner.h
- src/plugins/projectexplorer/devicesupport/deviceprocess.cpp 52 additions, 0 deletionssrc/plugins/projectexplorer/devicesupport/deviceprocess.cpp
- src/plugins/projectexplorer/devicesupport/deviceprocess.h 87 additions, 0 deletionssrc/plugins/projectexplorer/devicesupport/deviceprocess.h
- src/plugins/projectexplorer/devicesupport/idevice.cpp 6 additions, 0 deletionssrc/plugins/projectexplorer/devicesupport/idevice.cpp
- src/plugins/projectexplorer/devicesupport/idevice.h 5 additions, 0 deletionssrc/plugins/projectexplorer/devicesupport/idevice.h
- src/plugins/projectexplorer/devicesupport/sshdeviceprocess.cpp 329 additions, 0 deletions...lugins/projectexplorer/devicesupport/sshdeviceprocess.cpp
- src/plugins/projectexplorer/devicesupport/sshdeviceprocess.h 86 additions, 0 deletionssrc/plugins/projectexplorer/devicesupport/sshdeviceprocess.h
- src/plugins/projectexplorer/projectexplorer.pro 6 additions, 0 deletionssrc/plugins/projectexplorer/projectexplorer.pro
- src/plugins/projectexplorer/projectexplorer.qbs 6 additions, 0 deletionssrc/plugins/projectexplorer/projectexplorer.qbs
Loading
Please register or sign in to comment