Merge branch 'feature/new-gui' of github.com:amnezia-vpn/amnezia-client into feature/new-gui

This commit is contained in:
vladimir.kuznetsov 2023-06-16 13:49:19 +09:00
commit 4224e8314b
10 changed files with 54 additions and 34 deletions

View file

@ -19,13 +19,14 @@ public:
QObject *parent = nullptr);
bool isConnected();
void setIsConnected(bool isConnected);
void setIsConnected(bool isConnected); //todo take state from vpnconnection?
public slots:
void openConnection();
void closeConnection();
QString getLastConnectionError();
Vpn::ConnectionState connectionState(){return {};}; //todo update ConnectButton text on page change
signals:
void connectToVpn(int serverIndex, const ServerCredentials &credentials, DockerContainer container, const QJsonObject &containerConfig);