summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/vpn/vpnrun.h
blob: c19b6093f99930172b8be50f99597ed07e75342d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef VPNRUN_H
#define VPNRUN_H

#include <asconnection.h>
#include "vpndata.h"

class VPNRun  : public AsConnection {

public :

      VPNRun( ANetNodeInstance * NNI, VPNData & Data ) : 
              AsConnection( NNI )
        { }

      virtual AsConnection * asConnection( void ) 
        { return (AsConnection *)this; }
protected :

      void detectState( NodeCollection * )
        { }

      bool setState( NodeCollection *, Action_t, bool )
        { return 0; }

      bool canSetState( State_t, Action_t )
        { return 0; }

      bool handlesInterface( const QString & I );

};

#endif