mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
- Modified ConfigManager to accept a Settings object for improved configuration management. - Updated ProxyServer to initialize with Settings, enhancing dependency injection.
17 lines
379 B
C++
17 lines
379 B
C++
#pragma once
|
|
|
|
#include <QJsonObject>
|
|
#include <QString>
|
|
|
|
class IProxyService {
|
|
public:
|
|
virtual ~IProxyService() = default;
|
|
|
|
virtual QJsonObject getConfig() = 0;
|
|
|
|
virtual bool startXray() = 0;
|
|
virtual bool stopXray() = 0;
|
|
virtual bool isXrayRunning() const = 0;
|
|
virtual qint64 getXrayProcessId() const = 0;
|
|
virtual QString getXrayError() const = 0;
|
|
};
|