Diffstat (limited to 'noncore/settings/networksettings2/bluetooth/bluetooth_NN.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/bluetooth/bluetooth_NN.h | 75 |
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 | |||
6 | class ABluetoothBNEP; | ||
7 | |||
8 | class BluetoothBNEPNetNode : public ANetNode { | ||
9 | |||
10 | Q_OBJECT | ||
11 | |||
12 | public: | ||
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 | |||
35 | private: | ||
36 | |||
37 | }; | ||
38 | |||
39 | class BluetoothRFCOMMNetNode : public ANetNode { | ||
40 | |||
41 | Q_OBJECT | ||
42 | |||
43 | public: | ||
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 | |||
66 | private: | ||
67 | |||
68 | }; | ||
69 | |||
70 | extern "C" | ||
71 | { | ||
72 | void create_plugin( QList<ANetNode> & PNN ); | ||
73 | }; | ||
74 | |||
75 | #endif | ||