summaryrefslogblamecommitdiffstats
path: root/core/divesitehelpers.h
blob: a6a347b69d04315c9b4e772c0c64d631c4283d8a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                   




                         
                                               
        
                                                  
                                          

                                   
                                                    

                           
// 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