summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r--mobile-widgets/qmlmanager.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index 8916e9d42..f0f78937e 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -20,6 +20,8 @@
#include "core/subsurface-qt/divelistnotifier.h"
class QAction;
+class DiveObjectHelper;
+class DiveSiteChange; // An obscure implementation artifact - remove in due course.
class QMLManager : public QObject {
Q_OBJECT
@@ -251,7 +253,7 @@ private:
QElapsedTimer timer;
bool alreadySaving;
bool checkDate(const DiveObjectHelper &myDive, struct dive *d, QString date);
- bool checkLocation(const DiveObjectHelper &myDive, struct dive *d, QString location, QString gps);
+ bool checkLocation(DiveSiteChange &change, const DiveObjectHelper &myDive, struct dive *d, QString location, QString gps);
bool checkDuration(const DiveObjectHelper &myDive, struct dive *d, QString duration);
bool checkDepth(const DiveObjectHelper &myDive, struct dive *d, QString depth);
bool currentGitLocalOnly;
@@ -260,7 +262,8 @@ private:
bool m_btEnabled;
void updateAllGlobalLists();
void updateSiteList();
- void setupDivesite(struct dive *d, struct dive_site *ds, double lat, double lon, const char *locationtext);
+
+ location_t getGps(QString &gps);
QString m_pluggedInDeviceName;
bool m_showNonDiveComputers;
struct dive *m_copyPasteDive = NULL;