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/stumblerstation.cpp | |
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/stumblerstation.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opiestumbler/stumblerstation.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/noncore/net/opiestumbler/stumblerstation.cpp b/noncore/net/opiestumbler/stumblerstation.cpp new file mode 100644 index 0000000..36bd669 --- a/dev/null +++ b/noncore/net/opiestumbler/stumblerstation.cpp @@ -0,0 +1,21 @@ +#include "stumblerstation.h" +#include <opie2/odebug.h> + +StumblerStation::StumblerStation(Opie::Net::OStation *station, const QDateTime &tm) + : st(station), lastTimeSeen(tm) +{ + /*odebug << "RHS: " << station->macAddress.toString() << oendl; + odebug << "THIS: " << st->macAddress.toString() << oendl; */ +} + +StumblerStation::~StumblerStation() +{ + if (st) + delete st; +} + +bool StumblerStation::operator<(const StumblerStation &rhs) +{ + return rhs.lastTimeSeen < lastTimeSeen; +} + |