2017-04-27 18:24:53 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
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);
|
2018-08-01 09:01:26 +00:00
|
|
|
void run();
|
2015-05-10 15:44:35 +00:00
|
|
|
|
|
|
|
private:
|
2015-05-15 21:27:08 +00:00
|
|
|
ReverseGeoLookupThread(QObject *parent = 0);
|
2015-05-10 15:44:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DIVESITEHELPERS_H
|