summaryrefslogblamecommitdiffstats
path: root/core/divesitehelpers.h
blob: 9227aa5c263c4edbe47302cc1b129b72bed2fc22 (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() override;

private:
	ReverseGeoLookupThread(QObject *parent = 0);
};

#endif // DIVESITEHELPERS_H