-rw-r--r-- | libopie2/opienet/onetwork.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libopie2/opienet/onetwork.h b/libopie2/opienet/onetwork.h index 93b129f..a953296 100644 --- a/libopie2/opienet/onetwork.h +++ b/libopie2/opienet/onetwork.h @@ -55,8 +55,11 @@ #include <qmap.h> #include <qobject.h> #include <qhostaddress.h> +namespace Opie { +namespace Net { + class ONetworkInterface; class OWirelessNetworkInterface; class OChannelHopper; class OMonitoringInterface; @@ -122,8 +125,10 @@ class ONetwork : public QObject private: static ONetwork* _instance; InterfaceMap _interfaces; + class Private; + Private *d; }; /*====================================================================================== @@ -233,8 +238,11 @@ class ONetworkInterface : public QObject struct ifreq& ifr() const; virtual void init(); bool ioctl( int call ) const; bool ioctl( int call, struct ifreq& ) const; + private: + class Private; + Private *d; }; /*====================================================================================== * OChannelHopper @@ -295,8 +303,10 @@ class OChannelHopper : public QObject int _interval; int _tid; QValueList<int> _channels; QValueList<int>::Iterator _channel; + class Private; + Private *d; }; /*====================================================================================== @@ -454,8 +464,10 @@ class OWirelessNetworkInterface : public ONetworkInterface struct iw_range _range; private: OChannelHopper* _hopper; + class Private; + Private *d; }; /*====================================================================================== @@ -478,8 +490,11 @@ class OMonitoringInterface protected: OWirelessNetworkInterface* _if; bool _prismHeader; + private: + class Private; + Private *d; }; @@ -496,8 +511,11 @@ class OCiscoMonitoringInterface : public OMonitoringInterface virtual void setEnabled( bool ); virtual QString name() const; virtual void setChannel( int ); + private: + class Private; + Private *d; }; @@ -515,8 +533,11 @@ class OWlanNGMonitoringInterface : public OMonitoringInterface public: virtual void setEnabled( bool ); virtual QString name() const; virtual void setChannel( int ); + private: + class Private; + Private *d; }; @@ -533,8 +554,12 @@ class OHostAPMonitoringInterface : public OMonitoringInterface public: virtual void setEnabled( bool ); virtual QString name() const; + + private: + class Private; + Private *d; }; /*====================================================================================== @@ -552,8 +577,14 @@ class OOrinocoMonitoringInterface : public OMonitoringInterface virtual void setChannel( int ); virtual void setEnabled( bool ); virtual QString name() const; + private: + class Private; + Private *d; }; +} +} + #endif // ONETWORK_H |