Diffstat (limited to 'noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NN.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NN.cpp | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NN.cpp b/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NN.cpp new file mode 100644 index 0000000..2b17ab5 --- a/dev/null +++ b/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NN.cpp | |||
@@ -0,0 +1,46 @@ | |||
1 | #include "bluetoothRFCOMM_NN.h" | ||
2 | #include "bluetoothRFCOMM_NNI.h" | ||
3 | |||
4 | static const char * BluetoothRFCOMMNeeds[] = | ||
5 | { 0 | ||
6 | }; | ||
7 | |||
8 | static const char * BluetoothRFCOMMProvides[] = | ||
9 | { "line", | ||
10 | "GPRS" | ||
11 | }; | ||
12 | |||
13 | BluetoothRFCOMMNetNode::BluetoothRFCOMMNetNode() : | ||
14 | ANetNode( tr("Bluetooth serial link") ) { | ||
15 | } | ||
16 | |||
17 | BluetoothRFCOMMNetNode::~BluetoothRFCOMMNetNode(){ | ||
18 | } | ||
19 | |||
20 | const QString BluetoothRFCOMMNetNode::nodeDescription(){ | ||
21 | return tr("\ | ||
22 | <p>Sets up a bluetooth link using the bluetooth serial profile.</p>\ | ||
23 | <p>Use this to connect to a GSM.</p>\ | ||
24 | " | ||
25 | ); | ||
26 | } | ||
27 | |||
28 | ANetNodeInstance * BluetoothRFCOMMNetNode::createInstance( void ) { | ||
29 | return new ABluetoothRFCOMM( this ); | ||
30 | } | ||
31 | |||
32 | const char ** BluetoothRFCOMMNetNode::needs( void ) { | ||
33 | return BluetoothRFCOMMNeeds; | ||
34 | } | ||
35 | |||
36 | const char ** BluetoothRFCOMMNetNode::provides( void ) { | ||
37 | return BluetoothRFCOMMProvides; | ||
38 | } | ||
39 | |||
40 | void BluetoothRFCOMMNetNode::setSpecificAttribute( QString &, QString & ) { | ||
41 | } | ||
42 | |||
43 | void BluetoothRFCOMMNetNode::saveSpecificAttribute( QTextStream & ) { | ||
44 | } | ||
45 | |||
46 | // create plugin -> see BNEP | ||