#include #include "bluetoothRFCOMMdata.h" #include class BluetoothRFCOMMRun : public RuntimeInfo { public : BluetoothRFCOMMRun( ANetNodeInstance * NNI, BluetoothRFCOMMData & D ) : RuntimeInfo( NNI ) { DeviceNr = -1; Data = &D; OT = 0; } virtual ~BluetoothRFCOMMRun( void ); virtual RuntimeInfo * line( void ) { return this; } virtual QString deviceFile( void ); State_t detectState( void ); protected : QString setMyState( NodeCollection * , Action_t, bool ); private : int deviceNrOfConnection( void ); RFCOMMChannel * getChannel( void ); BluetoothRFCOMMData * Data; Opietooth2::OTGateway * OT; int DeviceNr; // cached from detection };