mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
19 lines
500 B
C++
19 lines
500 B
C++
#ifndef AWGCONFIGURATOR_H
|
|
#define AWGCONFIGURATOR_H
|
|
|
|
#include <QObject>
|
|
|
|
#include "wireguard_configurator.h"
|
|
|
|
class AwgConfigurator : public WireguardConfigurator
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
AwgConfigurator(std::shared_ptr<Settings> settings, QObject *parent = nullptr);
|
|
|
|
QString genAwgConfig(const ServerCredentials &credentials, DockerContainer container,
|
|
const QJsonObject &containerConfig, ErrorCode *errorCode = nullptr);
|
|
};
|
|
|
|
#endif // AWGCONFIGURATOR_H
|