summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/vpn/vpnrun.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings2/vpn/vpnrun.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/vpn/vpnrun.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/vpn/vpnrun.h b/noncore/settings/networksettings2/vpn/vpnrun.h
new file mode 100644
index 0000000..c221fd0
--- a/dev/null
+++ b/noncore/settings/networksettings2/vpn/vpnrun.h
@@ -0,0 +1,30 @@
+#ifndef VPNRUN_H
+#define VPNRUN_H
+
+#include <asconnection.h>
+#include "vpndata.h"
+
+class VPNRun : public AsConnection {
+
+public :
+
+ VPNRun( ANetNodeInstance * NNI, VPNData & Data ) :
+ AsConnection( NNI )
+ { }
+
+protected :
+
+ void detectState( NodeCollection * )
+ { }
+
+ bool setState( NodeCollection *, Action_t )
+ { return 0; }
+
+ bool canSetState( State_t, Action_t )
+ { return 0; }
+
+ bool handlesInterface( const QString & I );
+
+};
+
+#endif