diff --git a/src/ATBAPP/ATBDeviceControllerPlugin.cpp b/src/ATBAPP/ATBDeviceControllerPlugin.cpp index 0a1581c..d2e36f0 100644 --- a/src/ATBAPP/ATBDeviceControllerPlugin.cpp +++ b/src/ATBAPP/ATBDeviceControllerPlugin.cpp @@ -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 & printingData) @@ -308,8 +314,6 @@ void ATBDeviceControllerPlugin::onCashPayStopByTimeout() - - /************************************************************************************************ * Mandatory plugin methods * diff --git a/src/ATBAPP/ATBDeviceControllerPlugin.h b/src/ATBAPP/ATBDeviceControllerPlugin.h index d7e833d..c1c90e6 100644 --- a/src/ATBAPP/ATBDeviceControllerPlugin.h +++ b/src/ATBAPP/ATBDeviceControllerPlugin.h @@ -51,6 +51,9 @@ public: // TASKS: printing ------------------------------------------------------------ void requestPrintTicket(const QHash & 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 & accountData); + + void Error( const QString & errorCode, const QString & errorDescription);