Diffstat (limited to 'noncore/settings/networksettings2/modem/modem_NN.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/modem/modem_NN.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/modem/modem_NN.cpp b/noncore/settings/networksettings2/modem/modem_NN.cpp index 06f417c..c7f6e78 100644 --- a/noncore/settings/networksettings2/modem/modem_NN.cpp +++ b/noncore/settings/networksettings2/modem/modem_NN.cpp | |||
@@ -3,2 +3,8 @@ | |||
3 | 3 | ||
4 | #ifndef MYPLUGIN | ||
5 | |||
6 | #include "netnodeinterface.h" | ||
7 | |||
8 | #endif | ||
9 | |||
4 | static const char * ModemNeeds[] = | 10 | static const char * ModemNeeds[] = |
@@ -50,2 +56,4 @@ void ModemNetNode::saveSpecificAttribute( QTextStream & ) { | |||
50 | 56 | ||
57 | #ifdef MYPLUGIN | ||
58 | |||
51 | extern "C" { | 59 | extern "C" { |
@@ -54,2 +62,9 @@ void create_plugin( QList<ANetNode> & PNN ) { | |||
54 | } | 62 | } |
63 | |||
64 | #else | ||
65 | |||
66 | OPIE_NS2_PLUGIN( NetNodeInterface<ModemNetNode> ) | ||
67 | |||
68 | #endif | ||
69 | |||
55 | } | 70 | } |