forked from qt-creator/qt-creator
Start making the Maemo support more generic.
This includes:
- decoupling deploy configurations from targets (Reviewed-by: dt)
- adding a "Generic Linux" device type
- splitting up the Maemo deployment step into small pieces that
can be combined in different ways (and much more easily maintained)
- adding a new version handler for pro.user files
(Reviewed-by: Tobias Hunger)
Also:
- Add and use an SSH manager class for easier connection sharing.
- Make the SSH connection parameters a fixed attribute of the connection.
This commit is contained in:
@@ -78,9 +78,9 @@ public:
|
||||
enum State { Unconnected, Connecting, Connected };
|
||||
typedef QSharedPointer<SshConnection> Ptr;
|
||||
|
||||
static Ptr create();
|
||||
static Ptr create(const SshConnectionParameters &serverInfo);
|
||||
|
||||
void connectToHost(const SshConnectionParameters &serverInfo);
|
||||
void connectToHost();
|
||||
void disconnectFromHost();
|
||||
State state() const;
|
||||
SshError errorState() const;
|
||||
@@ -98,11 +98,11 @@ signals:
|
||||
void error(Utils::SshError);
|
||||
|
||||
private:
|
||||
SshConnection();
|
||||
SshConnection(const SshConnectionParameters &serverInfo);
|
||||
|
||||
Internal::SshConnectionPrivate *d;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Utils
|
||||
|
||||
#endif // SSHCONNECTION_H
|
||||
|
||||
Reference in New Issue
Block a user