summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/cable/cable_NN.cpp
blob: 4085b22fefa8b3ed3c14192f3a611f760be9cb2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#include "cable_NN.h"
#include "cable_NNI.h"

#include "netnodeinterface.h"

static const char * CableNeeds[] = 
    { 0
    };

static const char * CableProvides[] = 
    { "line",
      0
    };

/**
 * Constructor, find all of the possible interfaces
 */
CableNetNode::CableNetNode() : ANetNode(tr("Cable connection")) {
}

/**
 * Delete any interfaces that we own.
 */
CableNetNode::~CableNetNode(){
}

const QString CableNetNode::nodeDescription(){
      return tr("\
<p>Sets up a wired serial or parallel.</p>\
"
);
}

ANetNodeInstance * CableNetNode::createInstance( void ) {
      return new ACable( this );
}

const char ** CableNetNode::needs( void ) {
      return CableNeeds;
}

const char ** CableNetNode::provides( void ) {
      return CableProvides;
}

void CableNetNode::setSpecificAttribute( QString & , QString &  ) {
}

void CableNetNode::saveSpecificAttribute( QTextStream & ) {
}

OPIE_NS2_PLUGIN(  NetNodeInterface_T<CableNetNode> )