aboutsummaryrefslogtreecommitdiffstats
path: root/core/downloadfromdcthread.h
blob: ab21db0aab067a009465b0a3dcf0be7b0ed6a639 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef DOWNLOADFROMDCTHREAD_H
#define DOWNLOADFROMDCTHREAD_H

#include <QThread>
#include "dive.h"
#include "libdivecomputer.h"

class DownloadThread : public QThread {
	Q_OBJECT
public:
	DownloadThread(QObject *parent, device_data_t *data);
	void setDiveTable(struct dive_table *table);
	void run() override;

	QString error;

private:
	device_data_t *data;
};

#endif