00001 #ifndef BLUETOOTHBNEP_H 00002 #define BLUETOOTHBNEP_H 00003 00004 #include <netnode.h> 00005 #include "bluetoothBNEPdata.h" 00006 #include "bluetoothBNEPrun.h" 00007 00008 class BluetoothBNEPNetNode; 00009 class BluetoothBNEPEdit; 00010 00011 class ABluetoothBNEP : public ANetNodeInstance { 00012 00013 public : 00014 00015 ABluetoothBNEP( BluetoothBNEPNetNode * PNN ); 00016 00017 RuntimeInfo * runtime( void ) 00018 { return 00019 ( RT ) ? RT : ( RT = new BluetoothBNEPRun( this, Data ) ); 00020 } 00021 00022 QWidget * edit( QWidget * parent ); 00023 QString acceptable( void ); 00024 void commit( void ); 00025 00026 virtual void * data( void ) 00027 { return (void *)&Data; } 00028 00029 protected : 00030 00031 virtual void setSpecificAttribute( QString & Attr, QString & Value ); 00032 virtual void saveSpecificAttribute( QTextStream & TS ); 00033 00034 private : 00035 00036 BluetoothBNEPEdit * GUI; 00037 BluetoothBNEPData Data; 00038 BluetoothBNEPRun * RT; 00039 00040 }; 00041 00042 #endif
1.4.2