From 807165ababca1b8c93b88d6b41f75ec96ce5e799 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Tue, 09 Sep 2003 13:42:04 +0000 Subject: reading GPS data from gpsd is now working. TODO: save the data --- (limited to 'noncore/net/wellenreiter/gui/scanlist.h') diff --git a/noncore/net/wellenreiter/gui/scanlist.h b/noncore/net/wellenreiter/gui/scanlist.h index 5aba0d2..2703b6a 100644 --- a/noncore/net/wellenreiter/gui/scanlist.h +++ b/noncore/net/wellenreiter/gui/scanlist.h @@ -16,6 +16,8 @@ #ifndef SCANLIST_H #define SCANLIST_H +#include "gps.h" + /* OPIE */ #include #include @@ -39,7 +41,8 @@ class MScanListView: public OListView virtual void serializeFrom( QDataStream& s ); public slots: - void addNewItem( const QString& type, const QString& essid, const OMacAddress& macaddr, bool wep, int channel, int signal ); + void addNewItem( const QString& type, const QString& essid, const OMacAddress& macaddr, bool wep, int channel, int signal, const GpsLocation& location ); + void fromDStraffic( const OMacAddress& from, const OMacAddress& to, const OMacAddress& via ); void toDStraffic( const OMacAddress& from, const OMacAddress& to, const OMacAddress& via ); void WDStraffic( const OMacAddress& from, const OMacAddress& to, const OMacAddress& viaFrom, const OMacAddress& viaTo ); @@ -99,6 +102,7 @@ class MScanListItem: public OListViewItem void receivedBeacon(); void setManufacturer( const QString& manufacturer ); + void setLocation( const float& latitude, const float& longitude ); virtual OListViewItem* childFactory(); virtual void serializeTo( QDataStream& s ) const; -- cgit v0.9.0.2