mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
22 lines
371 B
C
22 lines
371 B
C
|
#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
|