Mark hwapi-functions as overridden.

This commit is contained in:
Thomas Sax 2023-12-06 14:30:45 +01:00
parent 7f672db841
commit fc2bc6bafc

View File

@ -26,6 +26,8 @@ V4.0 6.9.2023: activating DC-Bootloader in slve-lib (SM)
#ifndef hwapi_H
#define hwapi_H
#include <stdint.h>
//#include <QTabWidget>
#include <QtPlugin>
#include <QTimer>
#include <QObject>
@ -69,9 +71,12 @@ V4.0 6.9.2023: activating DC-Bootloader in slve-lib (SM)
*/
//for CAslave:
//#undef THIS_IS_CA_MASTER
//#undef THIS_IS_CA_MASTER
//for CAmaster:
#define THIS_IS_CA_MASTER
class QSharedMemory;
@ -1305,31 +1310,35 @@ public:
signals:
// already declared in interfaces.h
void hwapi_templatePrintFinished_OK(void) const;
void hwapi_templatePrintFinished_Err(void) const;
void hwapi_templatePrintFinished_OK(void) const override;
void hwapi_templatePrintFinished_Err(void) const override;
void hwapi_coinCollectionJustStarted(void) const;
void hwapi_coinCollectionAborted(void) const;
void hwapi_coinCollectionJustStarted(void) const override;
void hwapi_coinCollectionAborted(void) const override;
void hwapi_gotNewCoin(void) const;
void hwapi_payStopByMax(void) const;
void hwapi_payStopByPushbutton(void) const;
void hwapi_gotNewCoin(void) const override;
void hwapi_payStopByMax(void) const override;
void hwapi_payStopByPushbutton(void) const override;
void hwapi_payStopByEscrow(void) const;
void hwapi_payStopByError(void) const;
void hwapi_payStopByTimeout(void) const;
void hwapi_payCancelled(void) const;
void hwapi_coinProcessJustStopped(void) const;
void hwapi_payStopByEscrow(void) const override;
void hwapi_payStopByError(void) const override;
void hwapi_payStopByTimeout(void) const override;
void hwapi_payCancelled(void) const override;
void hwapi_coinProcessJustStopped(void) const override;
// new from 2023.06.12
void hwapi_doorServiceDoorOpened(void) const;
void hwapi_doorVaultDoorOpened(void) const;
void hwapi_doorCoinBoxRemoved(void) const;
void hwapi_doorCoinBoxInserted(void) const;
void hwapi_doorCBinAndAllDoorsClosed(void) const;
void hwapi_doorAllDoorsClosed(void) const;
void hwapi_doorServiceDoorOpened(void) const override;
void hwapi_doorVaultDoorOpened(void) const override;
void hwapi_doorCoinBoxRemoved(void) const override;
void hwapi_doorCoinBoxInserted(void) const override;
void hwapi_doorCBinAndAllDoorsClosed(void) const override;
void hwapi_doorAllDoorsClosed(void) const override;
private slots:
//void hwapi_slotPrintFinished_OK(void);