-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 @@ -144,2 +144,4 @@ class OChannelHopper : public QObject virtual ~OChannelHopper(); + bool isActive() const; + int channel() const; virtual void timerEvent( QTimerEvent* ); @@ -153,2 +155,3 @@ class OChannelHopper : public QObject int _tid; + int _maxChannel; }; @@ -186,3 +189,3 @@ class OWirelessNetworkInterface : public ONetworkInterface - virtual void setChannelHopping( int interval ); + virtual void setChannelHopping( int interval = 0 ); virtual int channelHopping() const; @@ -209,3 +212,3 @@ class OWirelessNetworkInterface : public ONetworkInterface private: - OChannelHopper _hopper; + OChannelHopper* _hopper; }; |