Android manifest fix, IPC refactoring

This commit is contained in:
pokamest
2022-02-22 02:08:57 +03:00
parent c233f767f4
commit 912051637a
11 changed files with 58 additions and 31 deletions
+7 -2
View File
@@ -8,9 +8,12 @@
#include "protocols/vpnprotocol.h"
#include "core/defs.h"
#include "core/ipcclient.h"
#include "settings.h"
#ifdef AMNEZIA_DESKTOP
#include "core/ipcclient.h"
#endif
using namespace amnezia;
class VpnConnection : public QObject
@@ -74,8 +77,10 @@ private:
QJsonObject m_vpnConfiguration;
QJsonObject m_routeMode;
QString m_remoteAddress;
IpcClient *m_IpcClient {nullptr};
#ifdef AMNEZIA_DESKTOP
IpcClient *m_IpcClient {nullptr};
#endif
};
#endif // VPNCONNECTION_H