00001 #include <netnode.h> 00002 #include "bluetoothBNEPdata.h" 00003 00004 #include <OTGateway.h> 00005 00006 class BluetoothBNEPRun : public RuntimeInfo { 00007 00008 public : 00009 00010 BluetoothBNEPRun( ANetNodeInstance * NNI, 00011 BluetoothBNEPData & D ); 00012 virtual ~BluetoothBNEPRun( void ); 00013 00014 // i am a device 00015 virtual RuntimeInfo * device( void ) 00016 { return this; } 00017 00018 bool handlesInterface( const QString & ); 00019 bool handlesInterface( InterfaceInfo * ); 00020 00021 State_t detectState( void ); 00022 00023 protected : 00024 00025 QString setMyState( NetworkSetup * , Action_t, bool ); 00026 00027 private : 00028 00029 bool hasFreePANNetworkSetup( bool Grab = 0 ); 00030 00031 BluetoothBNEPData & Data; 00032 Opietooth2::OTGateway * OT; 00033 QRegExp Pat; 00034 };
1.4.2