Added feature: GPS on/off and checks if at least 4 satellites is in use.
[speedfreak] / Client / gpsdata.h
1 /*
2  * GPS data
3  *
4  * @author     Toni Jussila <toni.jussila@fudeco.com>
5  * @copyright  (c) 2010 Speed Freak team
6  * @license    http://opensource.org/licenses/gpl-license.php GNU Public License
7  */
8
9 #ifndef GPSDATA_H
10 #define GPSDATA_H
11
12 #include <QObject>
13 #include <maemo5location.h>
14
15 class GPSData : public QObject
16 {
17     Q_OBJECT
18 public:
19     GPSData(Maemo5Location *maemo5location);
20     ~GPSData();
21
22 private:
23     Maemo5Location *location;
24
25 private slots:
26     void agnss();
27     void awcp();
28     void locationUpdated();
29     void gpsConnected();
30     void gpsDisconnected();
31     void gps_error(int error);
32     void gpsd_running();
33     void gpsd_stopped();
34 };
35
36 #endif // GPSDATA_H