
* Crash fix in management server * Openvpn scripts fixes some refactoring * deploy fix * Scripts fix for macos * OpenVpn runtime error codes handling * MacOS deploy script fix * easyrsa scripts for MacOS * Refactoring Ui improvements Bug fixes * new server page fix * Fix some warnings, fix installation scripts (macOS) * Fix crash on fatal error, remove moc files from Windows installation * ss files * Fix issue with easyrsa * ss files * shadowsocks impl * ss fix * ui fix * Macos doc icon * travis scripts * server scripts fix * icon changed * Server scripts fix * travis fix * Bug fixes: - auto install tap - share connectionState - service crash fix * travis release * macos deploy
27 lines
619 B
C++
27 lines
619 B
C++
#ifndef SHADOWSOCKSVPNPROTOCOL_H
|
|
#define SHADOWSOCKSVPNPROTOCOL_H
|
|
|
|
#include "openvpnprotocol.h"
|
|
#include "QProcess"
|
|
|
|
class ShadowSocksVpnProtocol : public OpenVpnProtocol
|
|
{
|
|
public:
|
|
ShadowSocksVpnProtocol(const QString& args = QString(), QObject* parent = nullptr);
|
|
|
|
ErrorCode start() override;
|
|
void stop() override;
|
|
|
|
static QString genShadowSocksConfig(const ServerCredentials &credentials, Protocol proto = Protocol::ShadowSocks);
|
|
|
|
protected:
|
|
QString shadowSocksExecPath() const;
|
|
|
|
protected:
|
|
QString m_shadowSocksConfig;
|
|
|
|
private:
|
|
QProcess ssProcess;
|
|
};
|
|
|
|
#endif // SHADOWSOCKSVPNPROTOCOL_H
|