diff options
author | Christian Kandeler <[email protected]> | 2013-08-08 14:05:11 +0200 |
---|---|---|
committer | Christian Kandeler <[email protected]> | 2013-08-19 16:13:21 +0200 |
commit | 22599094b0d72e271ba4d8bad2c1587f9ce75c69 (patch) | |
tree | 5ec3ab520f062145bd7005d1357022269f9274c6 /src/libs/ssh/sshremoteprocess.h | |
parent | dc07796c236d137d4fce2b2ea1117496839ccf08 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/libs/ssh/sshremoteprocess.h')
-rw-r--r-- | src/libs/ssh/sshremoteprocess.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/ssh/sshremoteprocess.h b/src/libs/ssh/sshremoteprocess.h index a50a3f0f2fa..40c7db77909 100644 --- a/src/libs/ssh/sshremoteprocess.h +++ b/src/libs/ssh/sshremoteprocess.h @@ -80,6 +80,7 @@ public: * usually configured to ignore such requests for security reasons. */ void addToEnvironment(const QByteArray &var, const QByteArray &value); + void clearEnvironment(); void requestTerminal(const SshPseudoTerminal &terminal); void start(); |