refactoring: all protocol models now work with c++ classes
This commit is contained in:
parent
65f60ab922
commit
d766a001e3
25 changed files with 301 additions and 295 deletions
|
@ -13,11 +13,11 @@ namespace openvpn
|
|||
QString subnetAddress;
|
||||
QString transportProto;
|
||||
QString port;
|
||||
QString ncpDisable;
|
||||
bool ncpDisable;
|
||||
QString hash;
|
||||
QString cipher;
|
||||
QString tlsAuth;
|
||||
QString blockOutsideDns;
|
||||
bool tlsAuth;
|
||||
bool blockOutsideDns;
|
||||
QString additionalClientConfig;
|
||||
QString additionalServerConfig;
|
||||
};
|
||||
|
@ -39,6 +39,9 @@ public:
|
|||
|
||||
QJsonObject toJson() const override;
|
||||
|
||||
bool hasEqualServerSettings(const OpenVpnProtocolConfig &other) const;
|
||||
void clearClientSettings();
|
||||
|
||||
openvpn::ServerProtocolConfig serverProtocolConfig;
|
||||
openvpn::ClientProtocolConfig clientProtocolConfig;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue