author | mickeyl <mickeyl> | 2003-03-30 01:41:56 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-03-30 01:41:56 (UTC) |
commit | 99899abc80a8aa05044eeecd8a061b0a8efaa713 (patch) (unidiff) | |
tree | 45db7a60f17d00ae72d0e8d6b986d5be10232c6c /libopie2/opienet/onetwork.h | |
parent | 340cb7e64fb898966996b00b93c03ca05a347aa5 (diff) | |
download | opie-99899abc80a8aa05044eeecd8a061b0a8efaa713.zip opie-99899abc80a8aa05044eeecd8a061b0a8efaa713.tar.gz opie-99899abc80a8aa05044eeecd8a061b0a8efaa713.tar.bz2 |
- add classes for 802.11 tagged values
- adjust miniwellenreiter accordingly
-rw-r--r-- | libopie2/opienet/onetwork.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libopie2/opienet/onetwork.h b/libopie2/opienet/onetwork.h index 9a68a74..936ac85 100644 --- a/libopie2/opienet/onetwork.h +++ b/libopie2/opienet/onetwork.h | |||
@@ -141,8 +141,10 @@ class OChannelHopper : public QObject | |||
141 | { | 141 | { |
142 | public: | 142 | public: |
143 | OChannelHopper( OWirelessNetworkInterface* ); | 143 | OChannelHopper( OWirelessNetworkInterface* ); |
144 | virtual ~OChannelHopper(); | 144 | virtual ~OChannelHopper(); |
145 | bool isActive() const; | ||
146 | int channel() const; | ||
145 | virtual void timerEvent( QTimerEvent* ); | 147 | virtual void timerEvent( QTimerEvent* ); |
146 | void setInterval( int ); | 148 | void setInterval( int ); |
147 | int interval() const; | 149 | int interval() const; |
148 | 150 | ||
@@ -150,8 +152,9 @@ class OChannelHopper : public QObject | |||
150 | OWirelessNetworkInterface* _iface; | 152 | OWirelessNetworkInterface* _iface; |
151 | int _interval; | 153 | int _interval; |
152 | int _channel; | 154 | int _channel; |
153 | int _tid; | 155 | int _tid; |
156 | int _maxChannel; | ||
154 | }; | 157 | }; |
155 | 158 | ||
156 | 159 | ||
157 | /*====================================================================================== | 160 | /*====================================================================================== |
@@ -183,9 +186,9 @@ class OWirelessNetworkInterface : public ONetworkInterface | |||
183 | 186 | ||
184 | virtual void setMonitorMode( bool ); | 187 | virtual void setMonitorMode( bool ); |
185 | virtual bool monitorMode() const; | 188 | virtual bool monitorMode() const; |
186 | 189 | ||
187 | virtual void setChannelHopping( int interval ); | 190 | virtual void setChannelHopping( int interval = 0 ); |
188 | virtual int channelHopping() const; | 191 | virtual int channelHopping() const; |
189 | 192 | ||
190 | virtual void setNickName( const QString& ) {}; | 193 | virtual void setNickName( const QString& ) {}; |
191 | virtual QString nickName() const; | 194 | virtual QString nickName() const; |
@@ -206,9 +209,9 @@ class OWirelessNetworkInterface : public ONetworkInterface | |||
206 | bool wioctl( int call ) const; | 209 | bool wioctl( int call ) const; |
207 | bool wioctl( int call, iwreqstruct& ) const; | 210 | bool wioctl( int call, iwreqstruct& ) const; |
208 | 211 | ||
209 | private: | 212 | private: |
210 | OChannelHopper _hopper; | 213 | OChannelHopper* _hopper; |
211 | }; | 214 | }; |
212 | 215 | ||
213 | 216 | ||
214 | /*====================================================================================== | 217 | /*====================================================================================== |