2015-05-10 15:44:35 +00:00
|
|
|
#ifndef DIVESITEHELPERS_H
|
|
|
|
#define DIVESITEHELPERS_H
|
|
|
|
|
|
|
|
#include "units.h"
|
|
|
|
#include <QThread>
|
|
|
|
|
2015-05-15 21:27:08 +00:00
|
|
|
class ReverseGeoLookupThread : public QThread {
|
2015-05-10 15:44:35 +00:00
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2015-05-15 21:27:08 +00:00
|
|
|
static ReverseGeoLookupThread *instance();
|
2015-07-01 19:36:21 +00:00
|
|
|
void lookup(struct dive_site *ds);
|
2015-05-10 15:44:35 +00:00
|
|
|
void run() Q_DECL_OVERRIDE;
|
|
|
|
|
|
|
|
private:
|
2015-05-15 21:27:08 +00:00
|
|
|
ReverseGeoLookupThread(QObject *parent = 0);
|
2015-05-10 15:44:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DIVESITEHELPERS_H
|