aboutsummaryrefslogtreecommitdiffstats
path: root/core/divesitehelpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/divesitehelpers.h')
-rw-r--r--core/divesitehelpers.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/core/divesitehelpers.h b/core/divesitehelpers.h
new file mode 100644
index 000000000..a08069bc0
--- /dev/null
+++ b/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