summaryrefslogtreecommitdiff
path: root/libopie2/opienet/ostation.h
Side-by-side diff
Diffstat (limited to 'libopie2/opienet/ostation.h') (more/less context) (show 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
@@ -31,37 +31,44 @@
#ifndef OSTATION_H
#define OSTATION_H
#include <opie2/onetutils.h>
-#include <qdict.h>
-#include <qmap.h>
+#include <qlist.h>
#include <qstring.h>
#include <qhostaddress.h>
#include <qobject.h>
#include <sys/types.h>
class OStation;
-typedef QDict<OStation> OStationDict;
+typedef QList<OStation> OStationList;
/*======================================================================================
* OStation
*======================================================================================*/
class OStation
{
public:
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