summaryrefslogtreecommitdiff
path: root/libopie2/opienet/ostation.h
Side-by-side diff
Diffstat (limited to 'libopie2/opienet/ostation.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opienet/ostation.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/libopie2/opienet/ostation.h b/libopie2/opienet/ostation.h
index f61570b..a6956c9 100644
--- a/libopie2/opienet/ostation.h
+++ b/libopie2/opienet/ostation.h
@@ -34,8 +34,7 @@
#include <opie2/onetutils.h>
-#include <qdict.h>
-#include <qmap.h>
+#include <qlist.h>
#include <qstring.h>
#include <qhostaddress.h>
#include <qobject.h>
@@ -44,7 +43,7 @@
class OStation;
-typedef QDict<OStation> OStationDict;
+typedef QList<OStation> OStationList;
/*======================================================================================
* OStation
@@ -56,12 +55,20 @@ class OStation
OStation();
~OStation();
- private:
+ void dump();
+
+ /* Ethernet */
+ QString type;
OMacAddress macAddress;
QHostAddress ipAddress;
+
+ /* WaveLan */
QString ssid;
- QString type;
+ OMacAddress apAddress;
+ int channel;
+ bool encrypted;
};
+
#endif // OSTATION_H