author | wimpie <wimpie> | 2004-04-02 18:30:55 (UTC) |
---|---|---|
committer | wimpie <wimpie> | 2004-04-02 18:30:55 (UTC) |
commit | 4ea2f227d3fb0d9591bb4f18555420ac47f3397d (patch) (unidiff) | |
tree | 4fdd216cf7af4a747e2ca71e35d15f3d9e646333 /noncore/settings/networksettings2/bluetooth/bluetoothBNEPrun.h | |
parent | 5334b639c9f97793bcae4f50f7b47c7a2ada4e2f (diff) | |
download | opie-4ea2f227d3fb0d9591bb4f18555420ac47f3397d.zip opie-4ea2f227d3fb0d9591bb4f18555420ac47f3397d.tar.gz opie-4ea2f227d3fb0d9591bb4f18555420ac47f3397d.tar.bz2 |
first import of NS2 app
Diffstat (limited to 'noncore/settings/networksettings2/bluetooth/bluetoothBNEPrun.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/bluetooth/bluetoothBNEPrun.h | 32 |
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 | |||
4 | class BluetoothBNEPRun : public AsDevice { | ||
5 | |||
6 | public : | ||
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 | |||
19 | protected : | ||
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 | }; | ||