Add stubs for Account-Task

This commit is contained in:
Siegfried Siegert 2023-06-01 16:30:50 +02:00
parent d8d315cd49
commit 50bf7e8b52
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03
2 changed files with 12 additions and 2 deletions

View File

@ -78,6 +78,12 @@ void ATBDeviceControllerPlugin::cashAbort()
hw->vend_failed();
}
// TASKS: Account -------------------------------------------------------------
void ATBDeviceControllerPlugin::requestAccount()
{
qCritical() << "TODO: implement ATBDeviceControllerPlugin::requestAccount()";
}
// TASKS: printing ------------------------------------------------------------
void ATBDeviceControllerPlugin::requestPrintTicket(const QHash<QString, QVariant> & printingData)
@ -308,8 +314,6 @@ void ATBDeviceControllerPlugin::onCashPayStopByTimeout()
/************************************************************************************************
* Mandatory plugin methods
*

View File

@ -51,6 +51,9 @@ public:
// TASKS: printing ------------------------------------------------------------
void requestPrintTicket(const QHash<QString, QVariant> & printingData);
// TASKS: Account -------------------------------------------------------------
void requestAccount();
// mandantory ATBAPP plugin methods: ------------------------------------------
nsDeviceControllerInterface::PLUGIN_STATE getState();
QString & getLastError();
@ -83,6 +86,9 @@ signals:
void requestServiceMode();
void requestAccountResponse(const QHash<QString, QVariant> & accountData);
void Error(
const QString & errorCode,
const QString & errorDescription);