author | mickeyl <mickeyl> | 2003-04-30 18:42:07 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-04-30 18:42:07 (UTC) |
commit | 027458b66cffbfaf07c394a1a622a1f01970e11c (patch) (unidiff) | |
tree | 9cfbbfcebf60c2515719c0e9e2957cc18271dbe5 /libopie2/opienet | |
parent | 30aac378ab13a7dffbd3b6a0978cabc0372cd530 (diff) | |
download | opie-027458b66cffbfaf07c394a1a622a1f01970e11c.zip opie-027458b66cffbfaf07c394a1a622a1f01970e11c.tar.gz opie-027458b66cffbfaf07c394a1a622a1f01970e11c.tar.bz2 |
add some more documentation
-rw-r--r-- | libopie2/opienet/onetwork.h | 30 | ||||
-rw-r--r-- | libopie2/opienet/opcap.h | 5 |
2 files changed, 28 insertions, 7 deletions
diff --git a/libopie2/opienet/onetwork.h b/libopie2/opienet/onetwork.h index 2348bbc..f052317 100644 --- a/libopie2/opienet/onetwork.h +++ b/libopie2/opienet/onetwork.h | |||
@@ -115,3 +115,3 @@ class ONetwork : public QObject | |||
115 | * @note Sometimes it might be useful to call this from client code, | 115 | * @note Sometimes it might be useful to call this from client code, |
116 | * e.g. after cardctl insert | 116 | * e.g. after issuing a cardctl insert |
117 | */ | 117 | */ |
@@ -255,8 +255,26 @@ class OChannelHopper : public QObject | |||
255 | public: | 255 | public: |
256 | /** | ||
257 | * Constructor. | ||
258 | */ | ||
256 | OChannelHopper( OWirelessNetworkInterface* ); | 259 | OChannelHopper( OWirelessNetworkInterface* ); |
260 | /** | ||
261 | * Destructor. | ||
262 | */ | ||
257 | virtual ~OChannelHopper(); | 263 | virtual ~OChannelHopper(); |
264 | /** | ||
265 | * @returns true, if the channel hopper is hopping channels | ||
266 | */ | ||
258 | bool isActive() const; | 267 | bool isActive() const; |
268 | /** | ||
269 | * @returns the last hopped channel | ||
270 | */ | ||
259 | int channel() const; | 271 | int channel() const; |
260 | virtual void timerEvent( QTimerEvent* ); | 272 | /** |
261 | void setInterval( int ); | 273 | * Set the channel hopping @a interval. |
274 | * An interval of 0 deactivates the channel hopper. | ||
275 | */ | ||
276 | void setInterval( int interval ); | ||
277 | /** | ||
278 | * @returns the channel hopping interval | ||
279 | */ | ||
262 | int interval() const; | 280 | int interval() const; |
@@ -264,4 +282,10 @@ class OChannelHopper : public QObject | |||
264 | signals: | 282 | signals: |
283 | /** | ||
284 | * This signal is emitted right after the channel hopper performed a hop | ||
285 | */ | ||
265 | void hopped( int ); | 286 | void hopped( int ); |
266 | 287 | ||
288 | protected: | ||
289 | virtual void timerEvent( QTimerEvent* ); | ||
290 | |||
267 | private: | 291 | private: |
diff --git a/libopie2/opienet/opcap.h b/libopie2/opienet/opcap.h index 83f7115..bee0ca0 100644 --- a/libopie2/opienet/opcap.h +++ b/libopie2/opienet/opcap.h | |||
@@ -155,3 +155,2 @@ class OEthernetPacket : public QObject | |||
155 | 155 | ||
156 | |||
157 | /*====================================================================================== | 156 | /*====================================================================================== |
@@ -174,3 +173,2 @@ class OPrismHeaderPacket : public QObject | |||
174 | 173 | ||
175 | |||
176 | /*====================================================================================== | 174 | /*====================================================================================== |
@@ -354,3 +352,2 @@ class OWaveLanManagementIBSS : public QObject | |||
354 | 352 | ||
355 | // Qobject do we need that?? | ||
356 | class OWaveLanManagementChallenge : public QObject | 353 | class OWaveLanManagementChallenge : public QObject |
@@ -370,3 +367,3 @@ class OWaveLanManagementChallenge : public QObject | |||
370 | *======================================================================================*/ | 367 | *======================================================================================*/ |
371 | // Qobject? | 368 | |
372 | class OWaveLanDataPacket : public QObject | 369 | class OWaveLanDataPacket : public QObject |