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

View File

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