mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
19 lines
420 B
C++
19 lines
420 B
C++
|
|
#ifndef VPN_CONFIGURATOR_H
|
||
|
|
#define VPN_CONFIGURATOR_H
|
||
|
|
|
||
|
|
#include <QObject>
|
||
|
|
|
||
|
|
#include "core/defs.h"
|
||
|
|
#include "settings.h"
|
||
|
|
#include "core/servercontroller.h"
|
||
|
|
|
||
|
|
class VpnConfigurator
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
|
||
|
|
static QString genVpnProtocolConfig(const ServerCredentials &credentials, DockerContainer container,
|
||
|
|
const QJsonObject &containerConfig, Protocol proto, ErrorCode *errorCode = nullptr);
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // VPN_CONFIGURATOR_H
|