summaryrefslogtreecommitdiff
path: root/examples/networksettings/examplemodule.cpp
authormickeyl <mickeyl>2004-04-05 13:49:07 (UTC)
committer mickeyl <mickeyl>2004-04-05 13:49:07 (UTC)
commitf44b1d4abe82cfb74db68bffcaf240f6f6134708 (patch) (side-by-side diff)
treec150abb3cbc842fd930d3ab7543a0b34ec3145ad /examples/networksettings/examplemodule.cpp
parent997a521a3ee84f614e2781a663911096ffb4a91a (diff)
downloadopie-f44b1d4abe82cfb74db68bffcaf240f6f6134708.zip
opie-f44b1d4abe82cfb74db68bffcaf240f6f6134708.tar.gz
opie-f44b1d4abe82cfb74db68bffcaf240f6f6134708.tar.bz2
use opie debugging
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();