2021-05-07 23:28:37 +03:00
|
|
|
#ifndef SHADOWSOCKS_CONFIGURATOR_H
|
|
|
|
|
#define SHADOWSOCKS_CONFIGURATOR_H
|
|
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
2022-08-25 17:35:28 +03:00
|
|
|
#include "configurator_base.h"
|
2021-05-07 23:28:37 +03:00
|
|
|
#include "core/defs.h"
|
|
|
|
|
|
2024-04-01 20:20:02 +07:00
|
|
|
class ShadowSocksConfigurator : public ConfiguratorBase
|
2021-05-07 23:28:37 +03:00
|
|
|
{
|
2022-08-25 17:35:28 +03:00
|
|
|
Q_OBJECT
|
2021-05-07 23:28:37 +03:00
|
|
|
public:
|
2024-04-12 20:00:21 +05:00
|
|
|
ShadowSocksConfigurator(std::shared_ptr<Settings> settings, const QSharedPointer<ServerController> &serverController, QObject *parent = nullptr);
|
2021-05-07 23:28:37 +03: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);
|
2021-05-07 23:28:37 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // SHADOWSOCKS_CONFIGURATOR_H
|