#include "ppp_NN.h" #include "ppp_NNI.h" static const char * PPPNeeds[] = { "line", "modem", 0 }; /** * Constructor, find all of the possible interfaces */ PPPNetNode::PPPNetNode() : ANetNode() { } /** * Delete any interfaces that we own. */ PPPNetNode::~PPPNetNode(){ } const QString PPPNetNode::nodeDescription(){ return tr("\

Sets up IP using PPP.

\

Use this for dialup devices or serial setups

\ " ); } ANetNodeInstance * PPPNetNode::createInstance( void ) { return new APPP( this ); } const char ** PPPNetNode::needs( void ) { return PPPNeeds; } const char * PPPNetNode::provides( void ) { return "connection"; } bool PPPNetNode::generateProperFilesFor( ANetNodeInstance * ) { return 1; } bool PPPNetNode::hasDataFor( const QString & ) { return 0; } bool PPPNetNode::generateDataForCommonFile( SystemFile & , long, ANetNodeInstance * ) { return 1; } extern "C" { void create_plugin( QList & PNN ) { PNN.append( new PPPNetNode() ); } }