projects
/
googlelatitude
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
support to no liblocation
[googlelatitude]
/
src
/
gps.h
diff --git
a/src/gps.h
b/src/gps.h
index
e3de44a
..
42d8841
100644
(file)
--- a/
src/gps.h
+++ b/
src/gps.h
@@
-1,6
+1,8
@@
#ifndef GPS_H
#define GPS_H
#ifndef GPS_H
#define GPS_H
+#ifdef Q_WS_MAEMO_5
+
extern "C" {
#include <location/location-gps-device.h>
#include <location/location-gpsd-control.h>
extern "C" {
#include <location/location-gps-device.h>
#include <location/location-gpsd-control.h>
@@
-43,4
+45,8
@@
private:
void GpsMaemo5_changed(LocationGPSDevice *device, GpsMaemo5 *gps);
void GpsMaemo5_changed(LocationGPSDevice *device, GpsMaemo5 *gps);
+#else
+#include "gpsfake.h"
+#endif
+
#endif // GPS_H
#endif // GPS_H