DCDiag: add dbus interface
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
|
||||
#include "support/PersistentData.h"
|
||||
|
||||
class DBusControllerInterface;
|
||||
|
||||
namespace DeviceController {
|
||||
Q_NAMESPACE
|
||||
@@ -79,7 +80,7 @@ class DeviceControllerDiag : public QObject
|
||||
public:
|
||||
DeviceControllerDiag(PersistentData *pData, QObject *parent = nullptr);
|
||||
|
||||
void init(hwinf* hw, QObject* eventReceiver);
|
||||
void init(hwinf* hw, DBusControllerInterface *dbus, QObject* eventReceiver);
|
||||
|
||||
nsDeviceControllerInterface::COIN_PROCESSOR coinProcessorType;
|
||||
nsDeviceControllerInterface::BILL_ACCEPTOR billAcceptor;
|
||||
@@ -118,9 +119,11 @@ signals:
|
||||
private:
|
||||
QObject *eventReceiver;
|
||||
hwinf* hw;
|
||||
DBusControllerInterface* dbus;
|
||||
|
||||
bool isRequestRunning;
|
||||
bool flagInterruptDiag;
|
||||
bool isDiagBackgroundTask;
|
||||
|
||||
QTimer *diagRequestTimeoutTimer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user