29 lines
438 B
C++
29 lines
438 B
C++
#ifndef HARDWARESETUP_H
|
|
#define HARDWARESETUP_H
|
|
|
|
#include <QtCore>
|
|
|
|
class HardwareSetup : public QThread
|
|
{
|
|
Q_OBJECT
|
|
protected:
|
|
void run();
|
|
private:
|
|
bool shellBefore;
|
|
bool deaBefore;
|
|
|
|
bool getShell();
|
|
bool getDea();
|
|
int* findBit(int *array, int zahl);
|
|
bool stop;
|
|
public:
|
|
void setStop();
|
|
~HardwareSetup();
|
|
HardwareSetup();
|
|
signals:
|
|
void Shell();
|
|
void Dea();
|
|
};
|
|
|
|
#endif // HARDWARESETUP_H
|