aboutsummaryrefslogtreecommitdiffstats
path: root/core/divesitehelpers.h
blob: a6a347b69d04315c9b4e772c0c64d631c4283d8a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// SPDX-License-Identifier: GPL-2.0
#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