Commit Graph

11 Commits

Author SHA1 Message Date
6b9e795206 Reordered and extended interface-api for download-thread and reporting-thread:
virtual bool dcDownloadRequest(QString const &fileToDownload) const;
virtual bool dcDownloadRequested() const;
virtual bool dcDownloadResetRequest() const;
virtual bool dcDownloadRequestAck() const;
virtual bool dcDownloadRunning() const;
virtual bool dcDownloadFinished();

virtual bool dcDownloadReportStart() const;
virtual bool dcDownloadReportRunning() const;

virtual bool dcDownloadReportFinished();
virtual bool dcDownloadThreadStart();
virtual bool dcDownloadThreadRunning() const;
virtual void dcDownloadThreadFinalize(DownloadThread *);

virtual bool dcDownloadThreadFinished() const;
virtual bool dcDownloadReportThreadStart();
virtual bool dcDownloadReportThreadRunning() const;
virtual void dcDownloadReportThreadFinalize();
virtual void dcDownloadReportThreadQuit();

virtual bool dcDownloadReportThreadFinished() const;
virtual QString dcDownloadFileName() const;
virtual bool dcDownloadSetRequested(bool requested);
virtual bool dcDownloadSetRunning(bool running);
virtual bool dcDownloadSetFinished(bool finished);
virtual void dcDownloadSetTotalBlockNumber(uint16_t totalBlockNumber);
virtual void dcDownloadSetCurrentBlockNumber(uint16_t currentBlockNumber);
virtual bool dcDownloadGetRequested() const;
virtual bool dcDownloadGetRunning() const;
virtual bool dcDownloadGetFinished() const;
virtual uint16_t dcDownloadGetTotalBlockNumber() const;
virtual uint16_t dcDownloadGetCurrentBlockNumber() const;
2023-12-08 12:44:53 +01:00
2025a75d56 Save as changing to master. 2023-12-06 14:53:52 +01:00
0344150950 dd reporting thread signals. 2023-12-03 19:54:21 +01:00
cee4caf77d Add helpers:
virtual void dcDownloadStart() {}^M
virtual bool dcDownloadRequested() const { return false; }^M
virtual void dcDownloadResetRequest() {}^M
virtual QString dcDownloadFileName() const { return ""; }^M
virtual void dcDownloadReportStart() {}^M
2023-12-02 09:46:58 +01:00
ee26eef50f Save development files. 2023-12-01 14:28:07 +01:00
78700e7bea
Fix: return value prn_getPrintResult() 2023-11-30 14:27:17 +01:00
Thomas
79868787cf Filled struct T_bna and added new version number. 2023-11-14 08:34:32 +01:00
17f8cac383 Fix: Signals are not allowed to be pure virtual functions. 2023-11-09 10:18:15 +01:00
ffa470f49f Provide default implementations for all function in interfaces.h. 2023-11-09 10:17:46 +01:00
a0c9f7c4e7 Provide defualt implementations for all functions in interfaces.h. 2023-11-09 10:16:35 +01:00
a9041d417d Start repository 2023-11-08 13:02:26 +01:00