summaryrefslogtreecommitdiff
path: root/libopie2/opienet/onetwork.h
Side-by-side diff
Diffstat (limited to 'libopie2/opienet/onetwork.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opienet/onetwork.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/libopie2/opienet/onetwork.h b/libopie2/opienet/onetwork.h
index b57ac3f..acf2f69 100644
--- a/libopie2/opienet/onetwork.h
+++ b/libopie2/opienet/onetwork.h
@@ -51,2 +51,5 @@
#endif
+#ifndef IW_MAX_PRIV_DEF
+#define IW_MAX_PRIV_DEF 128
+#endif
@@ -110,3 +113,3 @@ class ONetwork : public QObject
-class ONetworkInterface
+class ONetworkInterface : public QObject
{
@@ -119,6 +122,5 @@ class ONetworkInterface
public:
- ONetworkInterface( const QString& name );
+ ONetworkInterface( QObject* parent, const char* name );
virtual ~ONetworkInterface();
- const QString& name() const;
void setMonitoring( OMonitoringInterface* );
@@ -135,3 +137,2 @@ class ONetworkInterface
protected:
- const QString _name;
const int _sfd;
@@ -187,3 +188,3 @@ class OWirelessNetworkInterface : public ONetworkInterface
- OWirelessNetworkInterface( const QString& name );
+ OWirelessNetworkInterface( QObject* parent, const char* name );
virtual ~OWirelessNetworkInterface();
@@ -215,6 +216,4 @@ class OWirelessNetworkInterface : public ONetworkInterface
protected:
- mutable iwreqstruct _iwr;
- QMap<int,int> _channels;
-
- protected:
+ void buildChannelList();
+ void buildPrivateList();
virtual void init();
@@ -224,2 +223,6 @@ class OWirelessNetworkInterface : public ONetworkInterface
+ protected:
+ mutable iwreqstruct _iwr;
+ QMap<int,int> _channels;
+
private: