diff options
Diffstat (limited to 'core/downloadfromdcthread.h')
-rw-r--r-- | core/downloadfromdcthread.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/core/downloadfromdcthread.h b/core/downloadfromdcthread.h new file mode 100644 index 000000000..ab21db0aa --- /dev/null +++ b/core/downloadfromdcthread.h @@ -0,0 +1,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 |