mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-21 02:01:03 +07:00
a6ca1b12da
Moved protocol config generation to VpnConfigurationsController
20 lines
497 B
C++
20 lines
497 B
C++
#ifndef XRAY_CONFIGURATOR_H
|
|
#define XRAY_CONFIGURATOR_H
|
|
|
|
#include <QObject>
|
|
|
|
#include "configurator_base.h"
|
|
#include "core/defs.h"
|
|
|
|
class XrayConfigurator : public ConfiguratorBase
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
XrayConfigurator(std::shared_ptr<Settings> settings, QObject *parent = nullptr);
|
|
|
|
QString createConfig(const ServerCredentials &credentials, DockerContainer container, const QJsonObject &containerConfig,
|
|
ErrorCode errorCode);
|
|
};
|
|
|
|
#endif // XRAY_CONFIGURATOR_H
|