mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-24 02:00:24 +07:00
5e27f0c8f0
- added configuration file selection - added modset selection
26 lines
527 B
C++
26 lines
527 B
C++
#ifndef GOODBYEDPI_H
|
|
#define GOODBYEDPI_H
|
|
|
|
#include <QObject>
|
|
|
|
#include "core/defs.h"
|
|
#include "core/privileged_process.h"
|
|
#include "protocols/vpnprotocol.h"
|
|
|
|
class GoodByeDpi : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit GoodByeDpi(QObject *parent = nullptr);
|
|
|
|
amnezia::ErrorCode start(const QString &blackListFile, const int modset);
|
|
void stop();
|
|
|
|
private:
|
|
QSharedPointer<PrivilegedProcess> m_goodbyeDPIProcess;
|
|
signals:
|
|
void serviceStateChanged(Vpn::ConnectionState state);
|
|
};
|
|
|
|
#endif // GOODBYEDPI_H
|