summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NN.cpp
Unidiff
Diffstat (limited to 'noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NN.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NN.cpp46
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
4static const char * BluetoothRFCOMMNeeds[] =
5 { 0
6 };
7
8static const char * BluetoothRFCOMMProvides[] =
9 { "line",
10 "GPRS"
11 };
12
13BluetoothRFCOMMNetNode::BluetoothRFCOMMNetNode() :
14 ANetNode( tr("Bluetooth serial link") ) {
15}
16
17BluetoothRFCOMMNetNode::~BluetoothRFCOMMNetNode(){
18}
19
20const 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
28ANetNodeInstance * BluetoothRFCOMMNetNode::createInstance( void ) {
29 return new ABluetoothRFCOMM( this );
30}
31
32const char ** BluetoothRFCOMMNetNode::needs( void ) {
33 return BluetoothRFCOMMNeeds;
34}
35
36const char ** BluetoothRFCOMMNetNode::provides( void ) {
37 return BluetoothRFCOMMProvides;
38}
39
40void BluetoothRFCOMMNetNode::setSpecificAttribute( QString &, QString & ) {
41}
42
43void BluetoothRFCOMMNetNode::saveSpecificAttribute( QTextStream & ) {
44}
45
46// create plugin -> see BNEP