Add interface for printing receipts
This commit is contained in:
parent
39f575ceea
commit
3bc68ff0ae
@ -62,7 +62,7 @@ public:
|
|||||||
virtual void requestPrintTicket(const QHash<QString, QVariant> & printingData) = 0;
|
virtual void requestPrintTicket(const QHash<QString, QVariant> & printingData) = 0;
|
||||||
virtual void requestPrintTicket(nsDeviceControllerInterface::TICKET_VARIANT ticketVariant, const QHash<QString, QVariant> & printingData) = 0;
|
virtual void requestPrintTicket(nsDeviceControllerInterface::TICKET_VARIANT ticketVariant, const QHash<QString, QVariant> & printingData) = 0;
|
||||||
virtual void requestPrintReceipt(const QHash<QString, QVariant> & printingData) = 0;
|
virtual void requestPrintReceipt(const QHash<QString, QVariant> & printingData) = 0;
|
||||||
|
virtual void requestPrintReceipt(const QString & printingString) = 0;
|
||||||
|
|
||||||
// mandantory ATBAPP plugin methods:
|
// mandantory ATBAPP plugin methods:
|
||||||
virtual nsDeviceControllerInterface::PLUGIN_STATE getState() = 0;
|
virtual nsDeviceControllerInterface::PLUGIN_STATE getState() = 0;
|
||||||
@ -91,6 +91,9 @@ signals:
|
|||||||
void printTicketFinished(nsDeviceControllerInterface::RESULT_STATE resultState,
|
void printTicketFinished(nsDeviceControllerInterface::RESULT_STATE resultState,
|
||||||
const QString & errorCode,
|
const QString & errorCode,
|
||||||
const QString & errorDescription);
|
const QString & errorDescription);
|
||||||
|
void printReceiptFinished(nsDeviceControllerInterface::RESULT_STATE resultState,
|
||||||
|
const QString & errorCode,
|
||||||
|
const QString & errorDescription);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* emitted on e.g. a coin input
|
* emitted on e.g. a coin input
|
||||||
|
Loading…
Reference in New Issue
Block a user