Diffstat (limited to 'noncore/settings/networksettings2/vpn/vpnrun.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/vpn/vpnrun.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/vpn/vpnrun.h b/noncore/settings/networksettings2/vpn/vpnrun.h index c221fd0..4d26298 100644 --- a/noncore/settings/networksettings2/vpn/vpnrun.h +++ b/noncore/settings/networksettings2/vpn/vpnrun.h | |||
@@ -3,24 +3,26 @@ | |||
3 | 3 | ||
4 | #include <asconnection.h> | 4 | #include <asconnection.h> |
5 | #include "vpndata.h" | 5 | #include "vpndata.h" |
6 | 6 | ||
7 | class VPNRun : public AsConnection { | 7 | class VPNRun : public AsConnection { |
8 | 8 | ||
9 | public : | 9 | public : |
10 | 10 | ||
11 | VPNRun( ANetNodeInstance * NNI, VPNData & Data ) : | 11 | VPNRun( ANetNodeInstance * NNI, VPNData & Data ) : |
12 | AsConnection( NNI ) | 12 | AsConnection( NNI ) |
13 | { } | 13 | { } |
14 | 14 | ||
15 | virtual AsConnection * asConnection( void ) | ||
16 | { return (AsConnection *)this; } | ||
15 | protected : | 17 | protected : |
16 | 18 | ||
17 | void detectState( NodeCollection * ) | 19 | void detectState( NodeCollection * ) |
18 | { } | 20 | { } |
19 | 21 | ||
20 | bool setState( NodeCollection *, Action_t ) | 22 | bool setState( NodeCollection *, Action_t ) |
21 | { return 0; } | 23 | { return 0; } |
22 | 24 | ||
23 | bool canSetState( State_t, Action_t ) | 25 | bool canSetState( State_t, Action_t ) |
24 | { return 0; } | 26 | { return 0; } |
25 | 27 | ||
26 | bool handlesInterface( const QString & I ); | 28 | bool handlesInterface( const QString & I ); |