From d92bdbfb3e6dc6bff9efe548c29b0e1deb69b4ad Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 13 Apr 2023 16:16:57 +0200 Subject: [PATCH] Added dc_printTemplate. Changed interface for updating printer templates. --- include/hwapi.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/include/hwapi.h b/include/hwapi.h index fff7e9d..287dc69 100644 --- a/include/hwapi.h +++ b/include/hwapi.h @@ -145,9 +145,15 @@ public: QString comPort) const override; bool dc_updatePrinterTemplate(enum FileTypeJson type, - int templateNr, - QString const &fname) const override; + QVector templateIdx, + QVector fnames, + QString br, + QString serial) const override; + bool dc_printTemplate(enum FileTypeJson type, + QVector templateIdx, + QString br, + QString serial) const override; // ------------------------------------------------------------------------------ // Level 1, control device-controller (functions of µC) // check serial connection to deviceController