summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/bluetooth/bluetoothBNEP_NN.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings2/bluetooth/bluetoothBNEP_NN.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/bluetooth/bluetoothBNEP_NN.h44
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
7class ABluetoothBNEP;
8
9class BluetoothBNEPNetNode : public ANetNode {
10
11 Q_OBJECT
12
13public:
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
29private:
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
39extern "C"
40{
41 void create_plugin( QList<ANetNode> & PNN );
42};
43
44#endif