subsurface/qt-mobile/gpslocation.h
Dirk Hohndel 9195f247c4 Location service: move files around to fit new directory layout
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-11-11 12:37:57 -08:00

25 lines
386 B
C++

#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