summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/vpn/vpn_NN.cpp
blob: 7c2e77b335c0e12fed7b0bfad51c66170ffd250f (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#include "vpn_NN.h"
#include "vpn_NNI.h"

#include "netnodeinterface.h"

static const char * VPNNeeds[] = 
    { 0
    };

static const char * VPNProvides[] = 
    { "NetworkSetup",
      0
    };
/**
 * Constructor, find all of the possible interfaces
 */
VPNNetNode::VPNNetNode() : ANetNode(tr("VPN NetworkSetup")) {
}

/**
 * Delete any interfaces that we own.
 */
VPNNetNode::~VPNNetNode(){
}

const QString VPNNetNode::nodeDescription(){
      return tr("\
<p>Configure private IP NetworkSetup.</p>\
<p>Defines Secure tunnels over non secure IP sessions</p>\
"
);
}

ANetNodeInstance * VPNNetNode::createInstance( void ) {
      return new AVPN( this );
}

const char ** VPNNetNode::needs( void ) {
      return VPNNeeds;
}

const char ** VPNNetNode::provides( void ) {
      return VPNProvides;
}

void VPNNetNode::setSpecificAttribute( QString & , QString & ) {
}

void VPNNetNode::saveSpecificAttribute( QTextStream & ) {
}

OPIE_NS2_PLUGIN(  NetNodeInterface_T<VPNNetNode> )