Files
amnezia-client/client/core/models/protocols/torProtocolConfig.h
T

28 lines
488 B
C++
Raw Normal View History

#ifndef TORPROTOCOLCONFIG_H
#define TORPROTOCOLCONFIG_H
#include <QJsonObject>
#include <QString>
namespace amnezia
{
struct TorServerConfig {
QString site;
QJsonObject toJson() const;
static TorServerConfig fromJson(const QJsonObject& json);
};
struct TorProtocolConfig {
TorServerConfig serverConfig;
QJsonObject toJson() const;
static TorProtocolConfig fromJson(const QJsonObject& json);
};
} // namespace amnezia
#endif // TORPROTOCOLCONFIG_H