summaryrefslogtreecommitdiff
path: root/libopie2/opienet/onetwork.h
authormickeyl <mickeyl>2003-04-09 10:36:30 (UTC)
committer mickeyl <mickeyl>2003-04-09 10:36:30 (UTC)
commit5cb59a3e8abdbb05fe4bbc9e549f264153168232 (patch) (side-by-side diff)
treeb19a1c6e59b3c75224447409a3cf1eab16626939 /libopie2/opienet/onetwork.h
parent16c67ebbe538493fd330f56b0db30343efe6f0ae (diff)
downloadopie-5cb59a3e8abdbb05fe4bbc9e549f264153168232.zip
opie-5cb59a3e8abdbb05fe4bbc9e549f264153168232.tar.gz
opie-5cb59a3e8abdbb05fe4bbc9e549f264153168232.tar.bz2
add signal hopped(int) to OChannelHopper
Diffstat (limited to 'libopie2/opienet/onetwork.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opienet/onetwork.h9
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
@@ -227,6 +227,8 @@ class ONetworkInterface : public QObject
*/
class OChannelHopper : public QObject
{
+ Q_OBJECT
+
public:
OChannelHopper( OWirelessNetworkInterface* );
virtual ~OChannelHopper();
@@ -236,6 +238,9 @@ class OChannelHopper : public QObject
void setInterval( int );
int interval() const;
+ signals:
+ void hopped( int );
+
private:
OWirelessNetworkInterface* _iface;
int _interval;
@@ -325,6 +330,10 @@ 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.
*/
virtual void setNickName( const QString& nickname ) {}; //FIXME: Implement this