Added dc_printTemplate. Changed interface for updating printer templates.

This commit is contained in:
Gerhard Hoffmann 2023-04-13 16:17:28 +02:00
parent d92bdbfb3e
commit 3f10469b8f

View File

@ -307,9 +307,16 @@ public:
// download binary file down into device controller
virtual bool dc_updatePrinterTemplate(enum FileTypeJson type,
int templateNr,
QString const &fname) const = 0;
QVector<int> templateIdx,
QVector<QString> fnames,
QString br,
QString serial) const = 0;
virtual bool dc_printTemplate(enum FileTypeJson type,
QVector<int> templateIdx,
QString br,
QString serial) const = 0;
virtual void dc_autoRequest(bool on) const =0;
// on = true: select that all READ-Requests are sent automatically
// on = false: select that all READ-Requests are sent manually one by one