2023-10-06 17:19:44 +05:00
|
|
|
#ifndef AWGCONFIGURATOR_H
|
|
|
|
|
#define AWGCONFIGURATOR_H
|
2023-09-22 00:37:55 +05:00
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
|
|
#include "wireguard_configurator.h"
|
|
|
|
|
|
2023-10-06 17:19:44 +05:00
|
|
|
class AwgConfigurator : public WireguardConfigurator
|
2023-09-22 00:37:55 +05:00
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
2024-04-12 20:00:21 +05:00
|
|
|
AwgConfigurator(std::shared_ptr<Settings> settings, const QSharedPointer<ServerController> &serverController, QObject *parent = nullptr);
|
2023-09-22 00:37:55 +05:00
|
|
|
|
2024-04-01 20:20:02 +07:00
|
|
|
QString createConfig(const ServerCredentials &credentials, DockerContainer container,
|
2024-05-09 20:56:52 +03:00
|
|
|
const QJsonObject &containerConfig, ErrorCode &errorCode);
|
2023-09-22 00:37:55 +05:00
|
|
|
};
|
|
|
|
|
|
2023-10-06 17:19:44 +05:00
|
|
|
#endif // AWGCONFIGURATOR_H
|