blob: 32986d31186671b9aff79ea06fa4fe10e2dc8f5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#include <netnode.h>
#include "bluetoothRFCOMMdata.h"
#include <OTGateway.h>
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( NetworkSetup * , Action_t, bool );
private :
int deviceNrOfNetworkSetup( void );
RFCOMMChannel * getChannel( void );
BluetoothRFCOMMData * Data;
Opietooth2::OTGateway * OT;
int DeviceNr; // cached from detection
};
|