summaryrefslogtreecommitdiff
path: root/examples/networksettings/examplemodule.cpp
Side-by-side diff
Diffstat (limited to 'examples/networksettings/examplemodule.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/networksettings/examplemodule.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/examples/networksettings/examplemodule.cpp b/examples/networksettings/examplemodule.cpp
index d7fd718..703e6bd 100644
--- a/examples/networksettings/examplemodule.cpp
+++ b/examples/networksettings/examplemodule.cpp
@@ -1,18 +1,22 @@
-#include <qwidget.h>
+#include "exampleiface.h"
+#include "examplemodule.h"
+
+/* OPIE */
+#include <opie2/odebug.h>
+using namespace Opie::Core;
#include <interfaces/interfaceinformationimp.h>
-#include "exampleiface.h"
-#include "examplemodule.h"
+#include <qwidget.h>
VirtualModule::VirtualModule() {
Interface* iface = new VirtualInterface( 0 );
iface->setHardwareName( "vpn" );
iface->setInterfaceName( "Test VPN" );
m_interfaces.append( iface );
// If we set up VPN via pptp
// and networksettins was closed and now opened
// we need to hide the ppp device behind us
// One can do this by calling setHandledInterfaceNames
// setHandledInterfaceNames();