From 9c343f3eebdb578fb233cb2a4f4e840d7fae6b15 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Wed, 21 Jun 2023 16:19:45 +0200 Subject: [PATCH] Added planned methods updateConf() and updateCashConf(). Changed interface of updateDC() and updatePrinterTemplate() --- update.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/update.h b/update.h index 0f060d4..ca1c71a 100644 --- a/update.h +++ b/update.h @@ -35,6 +35,8 @@ class Update : public QObject { bool updateBinary(char const *fileToSendToDC); bool updatePrinterConf(int templateIdx, QString fileToSendToDC); + bool updateConf(QString fileToSendToDC); + bool updateCashConf(QString fileToSendToDC); bool finishUpdate(bool finish); QStringList getLinesToWorkOn(); QStringList split(QString line, QChar sep = ','); @@ -71,8 +73,8 @@ private: bool resetDeviceController() const; QByteArray loadBinaryDCFile(QString filename) const; bool downloadBinaryToDC(QString const &bFile) const; - bool updateDC(QString bFile, QString br, QString serial) const; + bool updateDC(QString bFile) const; bool updatePrinterTemplate(enum FileTypeJson type, int templateIdx, - QString fname, QString br, QString serial) const; + QString fname) const; }; #endif // UPDATE_H_INCLUDED