diff --git a/include/hwapi.h b/include/hwapi.h index f837d15..353fb6f 100644 --- a/include/hwapi.h +++ b/include/hwapi.h @@ -1308,20 +1308,37 @@ public: // download device controller - void dcDownloadStart() override; - bool dcDownloadFinished() override; - bool dcDownloadRequest(QString const &fileToDownload) override; + bool dcDownloadRequest(QString const &fileToDownload) const override; bool dcDownloadRequested() const override; - QString dcDownloadFileName() const override; - bool dcDownloadResetRequest() override; - void dcDownloadReportStart() override; - bool dcDownloadReportRunning() override; - bool dcDownloadReportFinished() override; + bool dcDownloadResetRequest() const override; + bool dcDownloadRequestAck() const override; bool dcDownloadRunning() const override; - bool dcDownloadFinished() const override; + bool dcDownloadFinished() override; + bool dcDownloadReportStart() const override; + bool dcDownloadReportRunning() const override; + bool dcDownloadReportFinished() override; + + + bool dcDownloadThreadStart() override; + bool dcDownloadThreadRunning() const override; + void dcDownloadThreadFinalize(DownloadThread *) override; + bool dcDownloadThreadFinished() const override; + bool dcDownloadReportThreadStart() override; + bool dcDownloadReportThreadRunning() const override; + void dcDownloadReportThreadFinalize() override; + void dcDownloadReportThreadQuit() override; + bool dcDownloadReportThreadFinished() const override; + + QString dcDownloadFileName() const override; + bool dcDownloadSetRequested(bool) override; + bool dcDownloadSetRunning(bool) override; + bool dcDownloadSetFinished(bool) override; void dcDownloadSetTotalBlockNumber(uint16_t totalBlockNumber) override; void dcDownloadSetCurrentBlockNumber(uint16_t currentBlockNumber) override; + bool dcDownloadGetRequested() const override; + bool dcDownloadGetRunning() const override; + bool dcDownloadGetFinished() const override; uint16_t dcDownloadGetTotalBlockNumber() const override; uint16_t dcDownloadGetCurrentBlockNumber() const override;