DCLibraries/include/reporting_thread.h

26 lines
500 B
C
Raw Normal View History

2023-12-01 14:28:07 +01:00
#ifndef REPORTING_THREAD_H_INCLUDED
#define REPORTING_THREAD_H_INCLUDED
#include <QThread>
#include <QString>
2023-12-06 14:53:52 +01:00
class hwapi;
2023-12-01 14:28:07 +01:00
class ReportingThread : public QThread {
Q_OBJECT
public:
2023-12-06 14:53:52 +01:00
ReportingThread(hwapi *hw);
2023-12-01 14:28:07 +01:00
~ReportingThread();
protected:
// reporting thread does not have a running event queue, and therefore
// no slots. signals work the usual way.
void run() override;
private:
2023-12-06 14:53:52 +01:00
hwapi *m_hw;
2023-12-01 14:28:07 +01:00
QString m_fileToDownload;
};
#endif // REPORTING_THREAD_H_INCLUDED