8 #include <location/location-gps-device.h>
9 #include <location/location-gpsd-control.h>
13 #endif // Q_WS_MAEMO_5
15 class GpsMaemo5 : public QObject {
22 GpsMaemo5(QObject *parent = 0);
23 double get_lat() { return latitude; }
24 double get_lon() { return longitude; }
25 double get_acc() { return accuracy; }
27 friend void GpsMaemo5_changed(LocationGPSDevice *device, GpsMaemo5 *gps);
28 #endif // Q_WS_MAEMO_5
33 void finishedreply(QNetworkReply *r);
34 #endif // Q_WS_MAEMO_5
42 LocationGPSDControl *control;
43 LocationGPSDevice *device;
46 QNetworkAccessManager *worker;
47 #endif // Q_WS_MAEMO_5
52 void GpsMaemo5_changed(LocationGPSDevice *device, GpsMaemo5 *gps);
53 #endif // Q_WS_MAEMO_5