blob: 36bd669056143656a506e13be09d047652274088 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
}
|