mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
23 lines
375 B
C++
23 lines
375 B
C++
|
|
#ifndef SFTPPROTOCOLCONFIG_H
|
||
|
|
#define SFTPPROTOCOLCONFIG_H
|
||
|
|
|
||
|
|
#include <QJsonObject>
|
||
|
|
#include <QString>
|
||
|
|
|
||
|
|
namespace amnezia
|
||
|
|
{
|
||
|
|
|
||
|
|
struct SftpProtocolConfig {
|
||
|
|
QString port;
|
||
|
|
QString userName;
|
||
|
|
QString password;
|
||
|
|
|
||
|
|
QJsonObject toJson() const;
|
||
|
|
static SftpProtocolConfig fromJson(const QJsonObject& json);
|
||
|
|
};
|
||
|
|
|
||
|
|
} // namespace amnezia
|
||
|
|
|
||
|
|
#endif // SFTPPROTOCOLCONFIG_H
|
||
|
|
|