diff --git a/include/datIf.h b/include/datIf.h index 42e442c..dfb66a7 100644 --- a/include/datIf.h +++ b/include/datIf.h @@ -133,8 +133,8 @@ #define SENDCOMBINED 0 - - +class hwinf; +class DownloadThread; class T_datif : public QObject { Q_OBJECT @@ -165,13 +165,15 @@ class T_datif : public QObject T_prot *myDCIF; QTimer *datif_trigger; uint8_t selectedSlaveAddr; + DownloadThread *m_downloadThread; + hwinf *m_hw; private slots: char datif_cycleSend(); void StoredRecData(); public: - T_datif(QObject *parent = nullptr); + T_datif(hwinf *hw, QObject *parent = nullptr); void resetChain(void); char isPortOpen(void);