From f70916f3ab05917a3d0dda64beb8db5ac16448ab Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sat, 28 Dec 2002 18:57:11 +0000 Subject: - refactored a number of classes - removed dumb polling ==> QSocketNotifier rocks - switched to parsing the daemon stuff in the gui, since libwellenreiter still has problems. --- (limited to 'noncore/net/wellenreiter/gui/wlan.cpp') diff --git a/noncore/net/wellenreiter/gui/wlan.cpp b/noncore/net/wellenreiter/gui/wlan.cpp new file mode 100644 index 0000000..b046cc8 --- a/dev/null +++ b/noncore/net/wellenreiter/gui/wlan.cpp @@ -0,0 +1,57 @@ +/********************************************************************** +** Copyright (C) 2002 Michael 'Mickey' Lauer. All rights reserved. +** +** This file is part of Opie Environment. +** +** This file may be distributed and/or modified under the terms of the +** GNU General Public License version 2 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. +** +** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +** +**********************************************************************/ + +#include "wlan.h" +#include "cardconfig.h" + +// Qt +#include + +// Qtopia +#ifdef QWS +#include +using namespace Opie; +#endif + +WLAN::WLAN( const QString& interface ) +{ + _configuration = new CardConfig( interface ); +} + +WLAN::WLAN( const CardConfig* configuration ) +{ + _configuration = configuration; + +} + +WLAN::~WLAN() +{ + delete _configuration; + +} + +void WLAN::setMonitorMode( bool enabled ) +{ + + /* + + if ( _configuration->system() == System_OpenZaurus && _configuration->type() == CardConfig::Prism ) + { + } + + */ + +} + -- cgit v0.9.0.2