diff --git a/update.cpp b/update.cpp index 7c12c94..190534f 100644 --- a/update.cpp +++ b/update.cpp @@ -98,6 +98,7 @@ bool Update::unloadDCPlugin() { return false; } +class hwapi; Update::Update(Worker *worker, QString customerRepository, QString customerNrStr, @@ -147,6 +148,21 @@ Update::Update(Worker *worker, Update::~Update() { } + +void Update::onReportDCDownloadStatus(QString const &status) { + emit m_worker->showStatusMessage("DL", status); +} + +void Update::onReportDCDownloadSuccess(QString const &msg) { + qCritical() << "msg" << msg; +} + +void Update::onReportDCDownloadFailure(QString const &errorMsg) { + qCritical() << "msg" << errorMsg; +} + + + // br is a index into a table, used for historical reasons. bool Update::openSerial(int br, QString baudrate, QString comPort) const { qDebug() << "opening serial" << br << baudrate << comPort << "...";