CashUtils: is not a class, it is a namespace

This commit is contained in:
2023-12-08 12:33:46 +01:00
parent 7affcb0313
commit 05113057b0
2 changed files with 15 additions and 47 deletions

View File

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