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

class BluetoothBNEPRun  : public AsDevice {

public :

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

      virtual AsDevice * asDevice( void ) 
        { return (AsDevice *)this; }

      virtual AsDevice * device( void ) 
        { return asDevice(); }

protected :

      void detectState( NodeCollection * )
        { }

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

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

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