removed linking with botan and qssh
This commit is contained in:
parent
81cf108471
commit
f9b2829396
10 changed files with 329 additions and 318 deletions
|
@ -1,19 +1,18 @@
|
|||
#include "sshclient.h"
|
||||
|
||||
#include <libssh/libssh.h>
|
||||
#include <libssh/sftp.h>
|
||||
namespace libssh {
|
||||
Client::Client(QObject *parent) : QObject(parent)
|
||||
{
|
||||
ssh_init();
|
||||
}
|
||||
|
||||
SshClient::SshClient(QObject *parent) : QObject(parent)
|
||||
{
|
||||
ssh_init();
|
||||
}
|
||||
Client::~Client()
|
||||
{
|
||||
ssh_finalize();
|
||||
}
|
||||
|
||||
SshClient::~SshClient()
|
||||
{
|
||||
ssh_finalize();
|
||||
}
|
||||
|
||||
std::shared_ptr<SshSession> SshClient::getSession()
|
||||
{
|
||||
return std::make_shared<SshSession>();
|
||||
std::shared_ptr<Session> Client::getSession()
|
||||
{
|
||||
return std::make_shared<Session>();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue