00001 #include "vpn_NN.h" 00002 #include "vpn_NNI.h" 00003 00004 #include "netnodeinterface.h" 00005 00006 static const char * VPNNeeds[] = 00007 { 0 00008 }; 00009 00010 static const char * VPNProvides[] = 00011 { "connection", 00012 0 00013 }; 00017 VPNNetNode::VPNNetNode() : ANetNode(tr("VPN connection")) { 00018 } 00019 00023 VPNNetNode::~VPNNetNode(){ 00024 } 00025 00026 const QString VPNNetNode::nodeDescription(){ 00027 return tr("\ 00028 <p>Configure private IP connection.</p>\ 00029 <p>Defines Secure tunnels over non secure IP sessions</p>\ 00030 " 00031 ); 00032 } 00033 00034 ANetNodeInstance * VPNNetNode::createInstance( void ) { 00035 return new AVPN( this ); 00036 } 00037 00038 const char ** VPNNetNode::needs( void ) { 00039 return VPNNeeds; 00040 } 00041 00042 const char ** VPNNetNode::provides( void ) { 00043 return VPNProvides; 00044 } 00045 00046 void VPNNetNode::setSpecificAttribute( QString & , QString & ) { 00047 } 00048 00049 void VPNNetNode::saveSpecificAttribute( QTextStream & ) { 00050 } 00051 00052 OPIE_NS2_PLUGIN( NetNodeInterface_T<VPNNetNode> )
1.4.2