9 #include <location/location-gps-device.h>
10 #include <location/location-gpsd-control.h>
14 #endif // Q_WS_MAEMO_5
16 class GpsMaemo5 : public QObject {
23 GpsMaemo5(QObject *parent = 0);
24 double get_lat() { return latitude; }
25 double get_lon() { return longitude; }
26 double get_acc() { return accuracy; }
32 int config(int i, int w, QString m);
36 friend void GpsMaemo5_changed(LocationGPSDevice *device, GpsMaemo5 *gps);
38 void gloc_reply(QNetworkReply *r);
39 #endif // Q_WS_MAEMO_5
51 LocationGPSDControl *control;
52 LocationGPSDevice *device;
55 QNetworkAccessManager *worker;
56 #endif // Q_WS_MAEMO_5
60 void GpsMaemo5_changed(LocationGPSDevice *device, GpsMaemo5 *gps);
61 #endif // Q_WS_MAEMO_5