00001 #ifndef BLUETOOTHBNEP_NETNODE_H 00002 #define BLUETOOTHBNEP_NETNODE_H 00003 00004 #include "netnode.h" 00005 #include "bluetoothRFCOMM_NN.h" 00006 00007 class ABluetoothBNEP; 00008 00009 class BluetoothBNEPNetNode : public ANetNode { 00010 00011 Q_OBJECT 00012 00013 public: 00014 00015 BluetoothBNEPNetNode(); 00016 virtual ~BluetoothBNEPNetNode(); 00017 00018 virtual QString genNic( long ); 00019 virtual long instanceCount( void ) 00020 { return InstanceCount; } 00021 virtual const QString pixmapName() 00022 { return "Devices/bluetooth"; } 00023 00024 virtual const QString nodeDescription() ; 00025 virtual ANetNodeInstance * createInstance( void ); 00026 virtual const char ** provides( void ); 00027 virtual const char ** needs( void ); 00028 00029 private: 00030 00031 virtual void setSpecificAttribute( QString & Attr, QString & Value ); 00032 virtual void saveSpecificAttribute( QTextStream & TS ); 00033 00034 // number of interfaces for this device 00035 long InstanceCount; 00036 00037 }; 00038 00039 extern "C" 00040 { 00041 void create_plugin( QList<ANetNode> & PNN ); 00042 }; 00043 00044 #endif
1.4.2