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