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