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 int getSatellitesInUse();
24 int getSatellitesInView();
25 int getSignalStrength();
27 double getLongitude();
39 double distance_between_two_points(double latitude_s, double longitude_s, double latitude_f, double longitude_f);
44 void locationUpdated();
46 void gps_disconnected();
47 void gps_error(int error);
52 Maemo5LocationPrivate* ptr;
55 #endif // MAEMO5LOCATION_H