Implement printing ticket

This commit is contained in:
2023-05-04 13:21:14 +02:00
parent 6478eda581
commit f611e07dcf
2 changed files with 74 additions and 18 deletions

View File

@@ -17,6 +17,8 @@
#include <QSharedMemory>
class QTextCodec;
using namespace nsDeviceControllerInterface;
@@ -93,6 +95,9 @@ private:
QString errorDescription;
QString pluginInfo;
int currentTemplate;
bool useDebug;
PLUGIN_STATE pluginState;
@@ -101,11 +106,18 @@ private:
hwinf* hw;
QTextCodec *codec;
private slots:
// printer
void onPrinterDataPrepared();
void onPrinterPrintNextTemplate();
void onPrintFinishedOK();
void onPrintFinishedERR();
// cash payment
void onGotCoin();
};