00001 #include "bluetoothRFCOMM_NN.h" 00002 #include "bluetoothRFCOMM_NNI.h" 00003 00004 static const char * BluetoothRFCOMMNeeds[] = 00005 { 0 00006 }; 00007 00008 static const char * BluetoothRFCOMMProvides[] = 00009 { "line", 00010 "GPRS" 00011 }; 00012 00013 BluetoothRFCOMMNetNode::BluetoothRFCOMMNetNode() : 00014 ANetNode( tr("Bluetooth serial link") ) { 00015 } 00016 00017 BluetoothRFCOMMNetNode::~BluetoothRFCOMMNetNode(){ 00018 } 00019 00020 const QString BluetoothRFCOMMNetNode::nodeDescription(){ 00021 return tr("\ 00022 <p>Sets up a bluetooth link using the bluetooth serial profile.</p>\ 00023 <p>Use this to connect to a GSM.</p>\ 00024 " 00025 ); 00026 } 00027 00028 ANetNodeInstance * BluetoothRFCOMMNetNode::createInstance( void ) { 00029 return new ABluetoothRFCOMM( this ); 00030 } 00031 00032 const char ** BluetoothRFCOMMNetNode::needs( void ) { 00033 return BluetoothRFCOMMNeeds; 00034 } 00035 00036 const char ** BluetoothRFCOMMNetNode::provides( void ) { 00037 return BluetoothRFCOMMProvides; 00038 } 00039 00040 void BluetoothRFCOMMNetNode::setSpecificAttribute( QString &, QString & ) { 00041 } 00042 00043 void BluetoothRFCOMMNetNode::saveSpecificAttribute( QTextStream & ) { 00044 } 00045 00046 // create plugin -> see BNEP
1.4.2