00001 #ifndef BLUETOOTHRFCOMM_H 00002 #define BLUETOOTHRFCOMM_H 00003 00004 #include <netnode.h> 00005 #include "bluetoothRFCOMMdata.h" 00006 #include "bluetoothRFCOMMrun.h" 00007 00008 class BluetoothRFCOMMNetNode; 00009 class BluetoothRFCOMMEdit; 00010 00011 class ABluetoothRFCOMM : public ANetNodeInstance { 00012 00013 public : 00014 00015 ABluetoothRFCOMM( BluetoothRFCOMMNetNode * PNN ); 00016 00017 RuntimeInfo * runtime( void ) 00018 { return 00019 ( RT ) ? RT : ( RT = new BluetoothRFCOMMRun( 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 BluetoothRFCOMMEdit * GUI; 00037 BluetoothRFCOMMData Data; 00038 BluetoothRFCOMMRun * RT; 00039 }; 00040 00041 #endif
1.4.2