Files
amnezia-client/client/localServices/goodByeDpi.h
T
vladimir.kuznetsov 5e27f0c8f0 feature: added a ui with the feature to configure goodbye dpi
- added configuration file selection
- added modset selection
2024-09-10 17:31:44 +04:00

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