00001 #include "irda_NN.h" 00002 #include "irda_NNI.h" 00003 00004 #include "netnodeinterface.h" 00005 00006 static const char * IRDANeeds[] = 00007 { 0 00008 }; 00009 00010 static const char * IRDAProvides[] = 00011 { "line", 00012 0 00013 }; 00014 00018 IRDANetNode::IRDANetNode() : ANetNode(tr("Infrared link")) { 00019 } 00020 00024 IRDANetNode::~IRDANetNode(){ 00025 } 00026 00027 const QString IRDANetNode::nodeDescription(){ 00028 return tr("\ 00029 <p>Sets up a infra red serial link.</p>\ 00030 " 00031 ); 00032 } 00033 00034 ANetNodeInstance * IRDANetNode::createInstance( void ) { 00035 return new AIRDA( this ); 00036 } 00037 00038 const char ** IRDANetNode::needs( void ) { 00039 return IRDANeeds; 00040 } 00041 00042 const char ** IRDANetNode::provides( void ) { 00043 return IRDAProvides; 00044 } 00045 00046 void IRDANetNode::setSpecificAttribute( QString & , QString & ) { 00047 } 00048 00049 void IRDANetNode::saveSpecificAttribute( QTextStream & ) { 00050 } 00051 00052 OPIE_NS2_PLUGIN( NetNodeInterface_T<IRDANetNode> )
1.4.2