00001 #include "stumblerstation.h" 00002 #include <opie2/odebug.h> 00003 00004 StumblerStation::StumblerStation(Opie::Net::OStation *station, const QDateTime &tm) 00005 : st(station), lastTimeSeen(tm) 00006 { 00007 /*odebug << "RHS: " << station->macAddress.toString() << oendl; 00008 odebug << "THIS: " << st->macAddress.toString() << oendl; */ 00009 } 00010 00011 StumblerStation::~StumblerStation() 00012 { 00013 if (st) 00014 delete st; 00015 } 00016 00017 bool StumblerStation::operator<(const StumblerStation &rhs) 00018 { 00019 return rhs.lastTimeSeen < lastTimeSeen; 00020 } 00021
1.4.2