From 3f10469b8f0f3e53063ba8c92fbbe9f3dd39ff82 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 13 Apr 2023 16:17:28 +0200 Subject: [PATCH] Added dc_printTemplate. Changed interface for updating printer templates. --- include/interfaces.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/include/interfaces.h b/include/interfaces.h index 733e3f3..3aac4f0 100644 --- a/include/interfaces.h +++ b/include/interfaces.h @@ -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 templateIdx, + QVector fnames, + QString br, + QString serial) const = 0; + + virtual bool dc_printTemplate(enum FileTypeJson type, + QVector 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