summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/bluetooth/bluetoothBNEPrun.h
blob: e65b378ad2e3c0f3dbffafa95770ed4fb9390be0 (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 <asdevice.h>
#include "bluetoothBNEPdata.h"

class BluetoothBNEPRun  : public AsDevice {

public :

      BluetoothBNEPRun( ANetNodeInstance * NNI, 
                        BluetoothBNEPData & Data ) : AsDevice( NNI )
        { }

      virtual long count( void )
        { return 3; }
      virtual QString genNic( long nr )
        { QString S; return S.sprintf( "bnep%ld", nr ); }
      virtual AsDevice * device( void ) 
        { return asDevice(); }

protected :

      void detectState( NodeCollection * )
        { }

      bool setState( NodeCollection * , Action_t  )
        { return 0; }

      bool canSetState( State_t , Action_t )
        { return 0; }

      bool handlesInterface( const QString & )
        { return 0; }
};