diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-11 10:54:36 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-11 12:37:57 -0800 |
commit | 9195f247c4b05a0cb849cf998355dc3ec3b65641 (patch) | |
tree | d8b5b4da0928f1f969931fc94cb25371c7518608 /qt-mobile/gpslocation.h | |
parent | 12a6a8f2b3afe4c6376b874f609be933ed5dbe5c (diff) | |
download | subsurface-9195f247c4b05a0cb849cf998355dc3ec3b65641.tar.gz |
Location service: move files around to fit new directory layout
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/gpslocation.h')
-rw-r--r-- | qt-mobile/gpslocation.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/qt-mobile/gpslocation.h b/qt-mobile/gpslocation.h new file mode 100644 index 000000000..8e26fd25e --- /dev/null +++ b/qt-mobile/gpslocation.h @@ -0,0 +1,25 @@ +#ifndef GPSLOCATION_H +#define GPSLOCATION_H + +#include <QObject> +#include <QGeoCoordinate> +#include <QGeoPositionInfoSource> +#include <QGeoPositionInfo> + +class GpsLocation : QObject +{ + Q_OBJECT +public: + GpsLocation(QObject *parent); + +private: + QGeoPositionInfo lastPos; + +signals: + +public slots: + void newPosition(QGeoPositionInfo pos); + void updateTimeout(); +}; + +#endif // GPSLOCATION_H |