-rw-r--r-- | libopie2/opienet/onetwork.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libopie2/opienet/onetwork.h b/libopie2/opienet/onetwork.h index e1545dd..0eb4542 100644 --- a/libopie2/opienet/onetwork.h +++ b/libopie2/opienet/onetwork.h | |||
@@ -36,12 +36,13 @@ | |||
36 | 36 | ||
37 | #include "wireless.h" | 37 | #include "wireless.h" |
38 | 38 | ||
39 | /* OPIE */ | 39 | /* OPIE */ |
40 | 40 | ||
41 | #include <opie2/onetutils.h> | 41 | #include <opie2/onetutils.h> |
42 | #include <opie2/ostation.h> | ||
42 | 43 | ||
43 | /* QT */ | 44 | /* QT */ |
44 | 45 | ||
45 | #include <qvaluelist.h> | 46 | #include <qvaluelist.h> |
46 | #include <qdict.h> | 47 | #include <qdict.h> |
47 | #include <qmap.h> | 48 | #include <qmap.h> |
@@ -403,13 +404,13 @@ class OWirelessNetworkInterface : public ONetworkInterface | |||
403 | */ | 404 | */ |
404 | virtual bool isAssociated() const; | 405 | virtual bool isAssociated() const; |
405 | /** | 406 | /** |
406 | * @returns the MAC address of the Access Point if the device is in infrastructure mode. | 407 | * @returns the MAC address of the Access Point if the device is in infrastructure mode. |
407 | * @returns a (more or less random) cell ID address if the device is in adhoc mode. | 408 | * @returns a (more or less random) cell ID address if the device is in adhoc mode. |
408 | */ | 409 | */ |
409 | virtual QString associatedAP() const; | 410 | virtual OMacAddress associatedAP() const; |
410 | /** | 411 | /** |
411 | * Set the @a ssid (Service Set ID) string. This is used to decide | 412 | * Set the @a ssid (Service Set ID) string. This is used to decide |
412 | * which network to associate with (use "any" to let the driver decide). | 413 | * which network to associate with (use "any" to let the driver decide). |
413 | */ | 414 | */ |
414 | virtual void setSSID( const QString& ssid ); | 415 | virtual void setSSID( const QString& ssid ); |
415 | /** | 416 | /** |
@@ -417,13 +418,13 @@ class OWirelessNetworkInterface : public ONetworkInterface | |||
417 | */ | 418 | */ |
418 | virtual QString SSID() const; | 419 | virtual QString SSID() const; |
419 | /** | 420 | /** |
420 | * Perform scanning the wireless network neighbourhood. | 421 | * Perform scanning the wireless network neighbourhood. |
421 | * @note: UNSTABLE API - UNDER CONSTRUCTION - DON'T USE! | 422 | * @note: UNSTABLE API - UNDER CONSTRUCTION - DON'T USE! |
422 | */ | 423 | */ |
423 | virtual int scanNetwork(); | 424 | virtual OStationList* scanNetwork(); |
424 | 425 | ||
425 | protected: | 426 | protected: |
426 | void buildInformation(); | 427 | void buildInformation(); |
427 | void buildPrivateList(); | 428 | void buildPrivateList(); |
428 | void dumpInformation() const; | 429 | void dumpInformation() const; |
429 | virtual void init(); | 430 | virtual void init(); |