mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
b42bae2ce8
There are a number of web servies we could use. All have their drawbacks. This one is free with free data. It's daily limits are reasonably high. For many coordinates I tested the results were good, for others at least not terrible. We can always consider supporting multiple such services. But for now this seems like a reasonable choice. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
18 lines
354 B
C++
18 lines
354 B
C++
#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
|