aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core/divesitehelpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/divesitehelpers.h')
-rw-r--r--subsurface-core/divesitehelpers.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/subsurface-core/divesitehelpers.h b/subsurface-core/divesitehelpers.h
new file mode 100644
index 000000000..a08069bc0
--- /dev/null
+++ b/subsurface-core/divesitehelpers.h
@@ -0,0 +1,18 @@
+#ifndef DIVESITEHELPERS_H
+#define DIVESITEHELPERS_H
+
+#include "units.h"
+#include <QThread>
+
+class ReverseGeoLookupThread : public QThread {
+Q_OBJECT
+public:
+ static ReverseGeoLookupThread *instance();
+ void lookup(struct dive_site *ds);
+ void run() Q_DECL_OVERRIDE;
+
+private:
+ ReverseGeoLookupThread(QObject *parent = 0);
+};
+
+#endif // DIVESITEHELPERS_H