author | skyhusker <skyhusker> | 2005-04-20 10:25:20 (UTC) |
---|---|---|
committer | skyhusker <skyhusker> | 2005-04-20 10:25:20 (UTC) |
commit | e439d0e6eaa6704a8b1b89ea32aa8a0520738a04 (patch) (side-by-side diff) | |
tree | 18c8b1eba5e1836f757765e4204d638500aa79f2 /noncore/net/opiestumbler/stumbler.h | |
parent | f6b9c85c09692f298ffa5ee95e1f171a9e158502 (diff) | |
download | opie-e439d0e6eaa6704a8b1b89ea32aa8a0520738a04.zip opie-e439d0e6eaa6704a8b1b89ea32aa8a0520738a04.tar.gz opie-e439d0e6eaa6704a8b1b89ea32aa8a0520738a04.tar.bz2 |
First commit of OpieStumbler, an application which performs wireless networks scanning using Wireless Extensions
Diffstat (limited to 'noncore/net/opiestumbler/stumbler.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opiestumbler/stumbler.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/noncore/net/opiestumbler/stumbler.h b/noncore/net/opiestumbler/stumbler.h new file mode 100644 index 0000000..de50d25 --- a/dev/null +++ b/noncore/net/opiestumbler/stumbler.h @@ -0,0 +1,38 @@ +#ifndef STUMBLER_H +#define STUMBLER_H + +#include <opie2/ostation.h> + +#include <qobject.h> + +class QString; +class QTimer; +namespace Opie { + namespace Net { + class OWirelessNetworkInterface; + } +} + +class Stumbler: public QObject { + Q_OBJECT + +public: + Stumbler(const QString &iface, QObject *parent = 0, const char *name = 0); + void start(); + void stop(); + void setInterval(int msec); + void setIface(const QString &iface); + Opie::Net::OStationList * stations(); +signals: + void newdata(); +protected slots: + void slotRefresh(); +protected: + int m_interval; + QString m_wifaceName; + QTimer *m_timer; + Opie::Net::OWirelessNetworkInterface *m_wiface; + Opie::Net::OStationList *m_stationList; +}; + +#endif |