#ifndef TORPROTOCOLCONFIG_H #define TORPROTOCOLCONFIG_H #include #include 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