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 @@ | |||
1 | #include "stumblerstation.h" | ||
2 | #include <opie2/odebug.h> | ||
3 | |||
4 | StumblerStation::StumblerStation(Opie::Net::OStation *station, const QDateTime &tm) | ||
5 | : st(station), lastTimeSeen(tm) | ||
6 | { | ||
7 | /*odebug << "RHS: " << station->macAddress.toString() << oendl; | ||
8 | odebug << "THIS: " << st->macAddress.toString() << oendl; */ | ||
9 | } | ||
10 | |||
11 | StumblerStation::~StumblerStation() | ||
12 | { | ||
13 | if (st) | ||
14 | delete st; | ||
15 | } | ||
16 | |||
17 | bool StumblerStation::operator<(const StumblerStation &rhs) | ||
18 | { | ||
19 | return rhs.lastTimeSeen < lastTimeSeen; | ||
20 | } | ||
21 | |||