-rw-r--r-- | libopie2/opienet/onetwork.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libopie2/opienet/onetwork.h b/libopie2/opienet/onetwork.h index 10f52b8..d2cc25d 100644 --- a/libopie2/opienet/onetwork.h +++ b/libopie2/opienet/onetwork.h @@ -228,4 +228,6 @@ class ONetworkInterface : public QObject class OChannelHopper : public QObject { + Q_OBJECT + public: OChannelHopper( OWirelessNetworkInterface* ); @@ -237,4 +239,7 @@ class OChannelHopper : public QObject int interval() const; + signals: + void hopped( int ); + private: OWirelessNetworkInterface* _iface; @@ -326,4 +331,8 @@ class OWirelessNetworkInterface : public ONetworkInterface virtual int channelHopping() const; /** + * @returns the @ref OChannelHopper of this interface or 0, if channel hopping has not been activated before + */ + virtual OChannelHopper* channelHopper() const; + /** * Set the station @a nickname. */ |