summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/wlan/wlanrun.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings2/wlan/wlanrun.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/wlan/wlanrun.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/noncore/settings/networksettings2/wlan/wlanrun.h b/noncore/settings/networksettings2/wlan/wlanrun.h
index f46bcb7..25d5b96 100644
--- a/noncore/settings/networksettings2/wlan/wlanrun.h
+++ b/noncore/settings/networksettings2/wlan/wlanrun.h
@@ -1,40 +1,37 @@
#ifndef WLANRUN_H
#define WLANRUN_H
#include <qregexp.h>
#include <asdevice.h>
#include "wlandata.h"
class WLanRun : public AsDevice {
public :
WLanRun( ANetNodeInstance * NNI, WLanData & Data ) :
AsDevice( NNI ),
Pat( "wlan[0-9]" )
{ }
virtual AsDevice * device( void )
{ return (AsDevice *)this; }
virtual AsDevice * asDevice( void )
{ return (AsDevice *)this; }
protected :
- void detectState( NodeCollection * )
- { }
-
- bool setState( NodeCollection *, Action_t )
- { return 0; }
-
- bool canSetState( State_t, Action_t )
- { return 0; }
-
+ void detectState( NodeCollection * );
+ bool setState( NodeCollection *, Action_t, bool );
+ bool canSetState( State_t, Action_t );
bool handlesInterface( const QString & I );
+ bool handlesInterface( const InterfaceInfo & II );
private :
+ InterfaceInfo * getInterface( void );
QRegExp Pat;
+ WLanData * Data;
};
#endif