Upload relayclient.h
This commit is contained in:
parent
dde82e0ddd
commit
69d91ce9e4
1 changed files with 6 additions and 1 deletions
|
|
@ -23,6 +23,11 @@ class QNetworkAccessManager;
|
|||
class QNetworkReply;
|
||||
class QSettings;
|
||||
|
||||
// VPN configuration returned from provisioning
|
||||
struct RelayVPNConf {
|
||||
QString conf; // WireGuard configuration text
|
||||
};
|
||||
|
||||
// Represents a streaming host as returned by GET /api/hosts
|
||||
struct RelayHost {
|
||||
QString name;
|
||||
|
|
@ -78,7 +83,7 @@ signals:
|
|||
void loginSucceeded();
|
||||
void loginFailed(const QString &reason);
|
||||
|
||||
void vpnProvisioned(const WireGuardConfig &cfg);
|
||||
void vpnProvisioned(const RelayVPNConf &cfg);
|
||||
void vpnProvisionFailed(const QString &reason);
|
||||
|
||||
void vpnRevoked();
|
||||
|
|
|
|||
Loading…
Reference in a new issue