summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/vpn/vpnrun.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings2/vpn/vpnrun.h') (more/less context) (show 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 @@
1#ifndef VPNRUN_H
2#define VPNRUN_H
3
4#include <asconnection.h>
5#include "vpndata.h"
6
7class VPNRun : public AsConnection {
8
9public :
10
11 VPNRun( ANetNodeInstance * NNI, VPNData & Data ) :
12 AsConnection( NNI )
13 { }
14
15protected :
16
17 void detectState( NodeCollection * )
18 { }
19
20 bool setState( NodeCollection *, Action_t )
21 { return 0; }
22
23 bool canSetState( State_t, Action_t )
24 { return 0; }
25
26 bool handlesInterface( const QString & I );
27
28};
29
30#endif