Diffstat (limited to 'noncore/settings/networksettings2/lancard/lancard_NN.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/lancard/lancard_NN.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/settings/networksettings2/lancard/lancard_NN.h b/noncore/settings/networksettings2/lancard/lancard_NN.h index 5f2b25d..d58823c 100644 --- a/noncore/settings/networksettings2/lancard/lancard_NN.h +++ b/noncore/settings/networksettings2/lancard/lancard_NN.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #ifndef LANCARD_NETNODE_H | 1 | #ifndef LANCARD_NETNODE_H |
2 | #define LANCARD_NETNODE_H | 2 | #define LANCARD_NETNODE_H |
3 | 3 | ||
4 | #include <qstringlist.h> | ||
4 | #include "netnode.h" | 5 | #include "netnode.h" |
5 | 6 | ||
6 | class ALanCard; | 7 | class ALanCard; |
@@ -17,9 +18,6 @@ public: | |||
17 | virtual const QString pixmapName() | 18 | virtual const QString pixmapName() |
18 | { return "Devices/card"; } | 19 | { return "Devices/card"; } |
19 | 20 | ||
20 | virtual const QString nodeName() | ||
21 | { return tr("LAN card"); } | ||
22 | |||
23 | virtual const QString nodeDescription() ; | 21 | virtual const QString nodeDescription() ; |
24 | 22 | ||
25 | virtual ANetNodeInstance * createInstance( void ); | 23 | virtual ANetNodeInstance * createInstance( void ); |
@@ -36,6 +34,8 @@ public: | |||
36 | { return InstanceCount; } | 34 | { return InstanceCount; } |
37 | 35 | ||
38 | virtual QString genNic( long ); | 36 | virtual QString genNic( long ); |
37 | virtual QStringList & addressesOfNIC( void ) | ||
38 | { return NICMACAddresses; } | ||
39 | 39 | ||
40 | private: | 40 | private: |
41 | 41 | ||
@@ -45,6 +45,8 @@ private: | |||
45 | // number of interfaces for this device | 45 | // number of interfaces for this device |
46 | long InstanceCount; | 46 | long InstanceCount; |
47 | 47 | ||
48 | QStringList NICMACAddresses; | ||
49 | |||
48 | }; | 50 | }; |
49 | 51 | ||
50 | extern "C" | 52 | extern "C" |