4 * @author Toni Jussila <toni.jussila@fudeco.com>
5 * @copyright (c) 2010 Speed Freak team
6 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
9 #ifndef MAEMO5LOCATION_H
10 #define MAEMO5LOCATION_H
14 class Maemo5LocationPrivate;
16 class Maemo5Location : public QObject
20 Maemo5Location(QObject* parent = 0);
23 void startPollingGPS();
24 void stopPollingGPS();
25 int getSatellitesInUse();
26 int getSatellitesInView();
27 int getSignalStrength();
30 double getLongitude();
42 double distance_between_two_points(double latitude_s, double longitude_s, double latitude_f, double longitude_f);
47 void locationUpdated();
49 void gps_disconnected();
50 void gps_error(int error);
55 Maemo5LocationPrivate* ptr;
58 #endif // MAEMO5LOCATION_H