mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
* add inih * add configuration file for gpservice * Disable the UI configuration for extra args * remove VERSION_SUFFIX * remove ppa-publish.sh * Use Git repo as the source for PKGBUILD * remove VERSION_SUFFIX * Use Git repo as the source for PKGBUILD * add .install for PKGBUILD * add configuration file * Fix cmake * Fix cmake * Disable snap job * update AUR packaging * Disable the UI configuration for extra args * improve packaging script * update README.md * restart gpservice after package upgrading
24 lines
514 B
C++
24 lines
514 B
C++
#ifndef VPN_JSON_H
|
|
#define VPN_JSON_H
|
|
#include "vpn.h"
|
|
|
|
class VpnJson : public QObject, public IVpn
|
|
{
|
|
Q_OBJECT
|
|
Q_INTERFACES(IVpn)
|
|
|
|
public:
|
|
VpnJson(QObject *parent) : QObject(parent) {}
|
|
|
|
void connect(const QString &preferredServer, const QList<QString> &servers, const QString &username, const QString &passwd);
|
|
void disconnect();
|
|
int status();
|
|
|
|
signals: // SIGNALS
|
|
void connected();
|
|
void disconnected();
|
|
void error(const QString &errorMessage);
|
|
void logAvailable(const QString &log);
|
|
};
|
|
#endif
|