diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-18 13:14:19 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-18 13:14:19 -0800 |
commit | 74b15922f306872d948e722d6f2a0bb18f978436 (patch) | |
tree | b9a75d611accff8a725b604cb7ea4114fd8ea890 /qt-mobile/gpslocation.h | |
parent | 18e52c1da402138a2204419bb008beb7271333bb (diff) | |
download | subsurface-74b15922f306872d948e722d6f2a0bb18f978436.tar.gz |
Location service: retrieve the userid using the cloud storage API
This should actually not be in the mobile section at all. This needs to be
available on the desktop as well.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/gpslocation.h')
-rw-r--r-- | qt-mobile/gpslocation.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-mobile/gpslocation.h b/qt-mobile/gpslocation.h index ff7aa1ea4..d00fbae6a 100644 --- a/qt-mobile/gpslocation.h +++ b/qt-mobile/gpslocation.h @@ -16,6 +16,7 @@ public: GpsLocation(QObject *parent); bool applyLocations(); int getGpsNum() const; + QString getUserid(QString user, QString passwd); private: QGeoPositionInfo lastPos; @@ -32,6 +33,7 @@ public slots: void updateTimeout(); void uploadToServer(); void postError(QNetworkReply::NetworkError error); + void getUseridError(QNetworkReply::NetworkError error); void clearGpsData(); }; |