Add class CashUtils: utility methods for CashProcessing

This commit is contained in:
2023-11-30 18:15:07 +01:00
parent e95de7f9e4
commit 247abb7520
4 changed files with 100 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#ifndef CASHUTILS_H
#define CASHUTILS_H
#include <QObject>
#include "interfaces.h"
class CashUtils : public QObject
{
Q_OBJECT
public:
static uint32_t getAmountOfInsertedCoins(hwinf* hw);
static uint32_t getAmountOfInsertedNotes(hwinf* hw);
static uint32_t getAmountDueToChange(hwinf* hw);
private:
explicit CashUtils(QObject *parent = nullptr);
signals:
};
#endif // CASHUTILS_H