projects
/
openvpnui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Options are taken from the configuration dialogue and passed through to
[openvpnui.git]
/
src
/
vpncontrol.h
diff --git
a/src/vpncontrol.h
b/src/vpncontrol.h
index
e994b83
..
909f3b2
100644
(file)
--- a/
src/vpncontrol.h
+++ b/
src/vpncontrol.h
@@
-29,12
+29,18
@@
class VPNControl : public QObject
private:
QProcess * vpnProcess;
VPNSTATUS vpnStatus;
private:
QProcess * vpnProcess;
VPNSTATUS vpnStatus;
- void setStatus (VPNSTATUS newStatus);
+ QStringList arguments;
QString server;
unsigned int port;
bool compressed;
bool useTLS;
int tlsDirection;
QString server;
unsigned int port;
bool compressed;
bool useTLS;
int tlsDirection;
+ void collectArguments ();
+ void setStatus (VPNSTATUS newStatus);
+ void addArgument (QString key, QString value);
+ void addArgument (QString key);
+ void addOption (QString key, bool add);
+ void addValue (QString key);
public:
explicit VPNControl(QObject *parent = 0);
public:
explicit VPNControl(QObject *parent = 0);