Added planned methods updateConf() and updateCashConf(). Changed interface of updateDC() and updatePrinterTemplate()
This commit is contained in:
parent
e79d6c6fef
commit
9c343f3eeb
6
update.h
6
update.h
@ -35,6 +35,8 @@ class Update : public QObject {
|
|||||||
|
|
||||||
bool updateBinary(char const *fileToSendToDC);
|
bool updateBinary(char const *fileToSendToDC);
|
||||||
bool updatePrinterConf(int templateIdx, QString fileToSendToDC);
|
bool updatePrinterConf(int templateIdx, QString fileToSendToDC);
|
||||||
|
bool updateConf(QString fileToSendToDC);
|
||||||
|
bool updateCashConf(QString fileToSendToDC);
|
||||||
bool finishUpdate(bool finish);
|
bool finishUpdate(bool finish);
|
||||||
QStringList getLinesToWorkOn();
|
QStringList getLinesToWorkOn();
|
||||||
QStringList split(QString line, QChar sep = ',');
|
QStringList split(QString line, QChar sep = ',');
|
||||||
@ -71,8 +73,8 @@ private:
|
|||||||
bool resetDeviceController() const;
|
bool resetDeviceController() const;
|
||||||
QByteArray loadBinaryDCFile(QString filename) const;
|
QByteArray loadBinaryDCFile(QString filename) const;
|
||||||
bool downloadBinaryToDC(QString const &bFile) 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,
|
bool updatePrinterTemplate(enum FileTypeJson type, int templateIdx,
|
||||||
QString fname, QString br, QString serial) const;
|
QString fname) const;
|
||||||
};
|
};
|
||||||
#endif // UPDATE_H_INCLUDED
|
#endif // UPDATE_H_INCLUDED
|
||||||
|
Loading…
Reference in New Issue
Block a user