#ifndef GPS_H
#define GPS_H
-#ifdef Q_WS_MAEMO_5
+#ifdef LIBLOCATION
+
+#include <QObject>
extern "C" {
#include <location/location-gps-device.h>
#include <location/location-gpsd-control.h>
}
-#include <QObject>
class GpsMaemo5 : public QObject {
Q_OBJECT
void GpsMaemo5_changed(LocationGPSDevice *device, GpsMaemo5 *gps);
-#else
-#include "gpsfake.h"
#endif
-
#endif // GPS_H