mirror of
https://github.com/amnezia-vpn/DefaultVPN.git
synced 2026-06-16 15:22:53 +03:00
19 lines
297 B
C++
19 lines
297 B
C++
#include "sshclient.h"
|
|
|
|
namespace libssh {
|
|
Client::Client(QObject *parent) : QObject(parent)
|
|
{
|
|
ssh_init();
|
|
}
|
|
|
|
Client::~Client()
|
|
{
|
|
ssh_finalize();
|
|
}
|
|
|
|
std::shared_ptr<Session> Client::getSession()
|
|
{
|
|
return std::make_shared<Session>();
|
|
}
|
|
}
|