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; }
31 int config(int i, int w, bool g);
35 friend void GpsMaemo5_changed(LocationGPSDevice *device, GpsMaemo5 *gps);
37 void gloc_reply(QNetworkReply *r);
38 #endif // Q_WS_MAEMO_5
50 LocationGPSDControl *control;
51 LocationGPSDevice *device;
54 QNetworkAccessManager *worker;
55 #endif // Q_WS_MAEMO_5
59 void GpsMaemo5_changed(LocationGPSDevice *device, GpsMaemo5 *gps);
60 #endif // Q_WS_MAEMO_5