summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/bluetooth/bluetoothBNEPrun.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings2/bluetooth/bluetoothBNEPrun.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings2/bluetooth/bluetoothBNEPrun.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/bluetooth/bluetoothBNEPrun.h b/noncore/settings/networksettings2/bluetooth/bluetoothBNEPrun.h
new file mode 100644
index 0000000..e65b378
--- a/dev/null
+++ b/noncore/settings/networksettings2/bluetooth/bluetoothBNEPrun.h
@@ -0,0 +1,32 @@
1#include <asdevice.h>
2#include "bluetoothBNEPdata.h"
3
4class BluetoothBNEPRun : public AsDevice {
5
6public :
7
8 BluetoothBNEPRun( ANetNodeInstance * NNI,
9 BluetoothBNEPData & Data ) : AsDevice( NNI )
10 { }
11
12 virtual long count( void )
13 { return 3; }
14 virtual QString genNic( long nr )
15 { QString S; return S.sprintf( "bnep%ld", nr ); }
16 virtual AsDevice * device( void )
17 { return asDevice(); }
18
19protected :
20
21 void detectState( NodeCollection * )
22 { }
23
24 bool setState( NodeCollection * , Action_t )
25 { return 0; }
26
27 bool canSetState( State_t , Action_t )
28 { return 0; }
29
30 bool handlesInterface( const QString & )
31 { return 0; }
32};