author | wimpie <wimpie> | 2005-01-04 01:39:32 (UTC) |
---|---|---|
committer | wimpie <wimpie> | 2005-01-04 01:39:32 (UTC) |
commit | 2a7afda8b7daf4a43e370dba09e43e7f5058ab49 (patch) (unidiff) | |
tree | 1905b1afdf7a1364149c4d325c778a4dd4c629c1 /noncore/settings/networksettings2/bluetooth/bluetoothBNEP_NN.h | |
parent | f1a6369e3df58019891707a3964b20836e104d67 (diff) | |
download | opie-2a7afda8b7daf4a43e370dba09e43e7f5058ab49.zip opie-2a7afda8b7daf4a43e370dba09e43e7f5058ab49.tar.gz opie-2a7afda8b7daf4a43e370dba09e43e7f5058ab49.tar.bz2 |
More NS2 files
Diffstat (limited to 'noncore/settings/networksettings2/bluetooth/bluetoothBNEP_NN.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/bluetooth/bluetoothBNEP_NN.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/bluetooth/bluetoothBNEP_NN.h b/noncore/settings/networksettings2/bluetooth/bluetoothBNEP_NN.h new file mode 100644 index 0000000..5057e6d --- a/dev/null +++ b/noncore/settings/networksettings2/bluetooth/bluetoothBNEP_NN.h | |||
@@ -0,0 +1,44 @@ | |||
1 | #ifndef BLUETOOTHBNEP_NETNODE_H | ||
2 | #define BLUETOOTHBNEP_NETNODE_H | ||
3 | |||
4 | #include "netnode.h" | ||
5 | #include "bluetoothRFCOMM_NN.h" | ||
6 | |||
7 | class ABluetoothBNEP; | ||
8 | |||
9 | class BluetoothBNEPNetNode : public ANetNode { | ||
10 | |||
11 | Q_OBJECT | ||
12 | |||
13 | public: | ||
14 | |||
15 | BluetoothBNEPNetNode(); | ||
16 | virtual ~BluetoothBNEPNetNode(); | ||
17 | |||
18 | virtual QString genNic( long ); | ||
19 | virtual long instanceCount( void ) | ||
20 | { return InstanceCount; } | ||
21 | virtual const QString pixmapName() | ||
22 | { return "Devices/bluetooth"; } | ||
23 | |||
24 | virtual const QString nodeDescription() ; | ||
25 | virtual ANetNodeInstance * createInstance( void ); | ||
26 | virtual const char ** provides( void ); | ||
27 | virtual const char ** needs( void ); | ||
28 | |||
29 | private: | ||
30 | |||
31 | virtual void setSpecificAttribute( QString & Attr, QString & Value ); | ||
32 | virtual void saveSpecificAttribute( QTextStream & TS ); | ||
33 | |||
34 | // number of interfaces for this device | ||
35 | long InstanceCount; | ||
36 | |||
37 | }; | ||
38 | |||
39 | extern "C" | ||
40 | { | ||
41 | void create_plugin( QList<ANetNode> & PNN ); | ||
42 | }; | ||
43 | |||
44 | #endif | ||