author | wimpie <wimpie> | 2005-01-04 01:39:32 (UTC) |
---|---|---|
committer | wimpie <wimpie> | 2005-01-04 01:39:32 (UTC) |
commit | 2a7afda8b7daf4a43e370dba09e43e7f5058ab49 (patch) (unidiff) | |
tree | 1905b1afdf7a1364149c4d325c778a4dd4c629c1 /noncore/settings/networksettings2/bluetooth/bluetoothRFCOMM_NN.cpp | |
parent | f1a6369e3df58019891707a3964b20836e104d67 (diff) | |
download | opie-2a7afda8b7daf4a43e370dba09e43e7f5058ab49.zip opie-2a7afda8b7daf4a43e370dba09e43e7f5058ab49.tar.gz opie-2a7afda8b7daf4a43e370dba09e43e7f5058ab49.tar.bz2 |
More NS2 files
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.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 | ||