Make download api in include/interfaces.h available for Qt using

signals/slots.
This commit is contained in:
Gerhard Hoffmann 2023-12-08 12:51:16 +01:00
parent 6b9e795206
commit 9e5c379e8a

View File

@ -1308,20 +1308,37 @@ public:
// download device controller // download device controller
void dcDownloadStart() override; bool dcDownloadRequest(QString const &fileToDownload) const override;
bool dcDownloadFinished() override;
bool dcDownloadRequest(QString const &fileToDownload) override;
bool dcDownloadRequested() const override; bool dcDownloadRequested() const override;
QString dcDownloadFileName() const override; bool dcDownloadResetRequest() const override;
bool dcDownloadResetRequest() override; bool dcDownloadRequestAck() const override;
void dcDownloadReportStart() override;
bool dcDownloadReportRunning() override;
bool dcDownloadReportFinished() override;
bool dcDownloadRunning() 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 dcDownloadSetTotalBlockNumber(uint16_t totalBlockNumber) override;
void dcDownloadSetCurrentBlockNumber(uint16_t currentBlockNumber) 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 dcDownloadGetTotalBlockNumber() const override;
uint16_t dcDownloadGetCurrentBlockNumber() const override; uint16_t dcDownloadGetCurrentBlockNumber() const override;