summaryrefslogtreecommitdiffstats
path: root/qt-mobile/gpslocation.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/gpslocation.h')
-rw-r--r--qt-mobile/gpslocation.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-mobile/gpslocation.h b/qt-mobile/gpslocation.h
index 82cab8082..55b47f07e 100644
--- a/qt-mobile/gpslocation.h
+++ b/qt-mobile/gpslocation.h
@@ -13,7 +13,7 @@ class GpsLocation : QObject
{
Q_OBJECT
public:
- GpsLocation(QObject *parent);
+ GpsLocation(void (*showMsgCB)(const char *msg), QObject *parent);
bool applyLocations();
int getGpsNum() const;
QString getUserid(QString user, QString passwd);
@@ -25,6 +25,7 @@ private:
QSettings *geoSettings;
QNetworkReply *reply;
QString userAgent;
+ void (*showMessageCB)(const char *msg);
signals: