summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/bluetooth/bluetooth_NN.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings2/bluetooth/bluetooth_NN.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings2/bluetooth/bluetooth_NN.h75
1 files changed, 75 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/bluetooth/bluetooth_NN.h b/noncore/settings/networksettings2/bluetooth/bluetooth_NN.h
new file mode 100644
index 0000000..ee346f0
--- a/dev/null
+++ b/noncore/settings/networksettings2/bluetooth/bluetooth_NN.h
@@ -0,0 +1,75 @@
1#ifndef BLUETOOTH_NETNODE_H
2#define BLUETOOTH_NETNODE_H
3
4#include "netnode.h"
5
6class ABluetoothBNEP;
7
8class BluetoothBNEPNetNode : public ANetNode {
9
10 Q_OBJECT
11
12public:
13
14 BluetoothBNEPNetNode();
15 virtual ~BluetoothBNEPNetNode();
16
17 virtual const QString pixmapName()
18 { return "bluetooth"; }
19
20 virtual const QString nodeName()
21 { return tr("Bluetooth PAN/NAP"); }
22
23 virtual const QString nodeDescription() ;
24
25 virtual ANetNodeInstance * createInstance( void );
26
27 virtual const char ** needs( void );
28 virtual const char * provides( void );
29
30 virtual bool generateProperFilesFor( ANetNodeInstance * NNI );
31 virtual bool hasDataFor( const QString & S );
32 virtual bool generateDataForCommonFile(
33 SystemFile & SF, long DevNr, ANetNodeInstance * NNI );
34
35private:
36
37};
38
39class BluetoothRFCOMMNetNode : public ANetNode {
40
41 Q_OBJECT
42
43public:
44
45 BluetoothRFCOMMNetNode();
46 virtual ~BluetoothRFCOMMNetNode();
47
48 virtual const QString pixmapName()
49 { return "bluetooth"; }
50
51 virtual const QString nodeName()
52 { return tr("Bluetooth serial link"); }
53
54 virtual const QString nodeDescription() ;
55
56 virtual ANetNodeInstance * createInstance( void );
57
58 virtual const char ** needs( void );
59 virtual const char * provides( void );
60
61 virtual bool generateProperFilesFor( ANetNodeInstance * NNI );
62 virtual bool hasDataFor( const QString & S );
63 virtual bool generateDataForCommonFile(
64 SystemFile & SF, long, ANetNodeInstance * NNI );
65
66private:
67
68};
69
70extern "C"
71{
72 void create_plugin( QList<ANetNode> & PNN );
73};
74
75#endif