forked from Sepanta/console-emulator
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
292 B
24 lines
292 B
#ifndef LED_H
|
|
#define LED_H
|
|
|
|
#include <QObject>
|
|
|
|
class Led : public QObject
|
|
{
|
|
Q_OBJECT
|
|
private:
|
|
char _functionCode;
|
|
bool _hasLed;
|
|
|
|
public:
|
|
Led();
|
|
Led(char functionCode);
|
|
void newData(QByteArray data);
|
|
|
|
signals:
|
|
void ledChanged(char value);
|
|
|
|
|
|
};
|
|
|
|
#endif // LED_H
|
|
|