Added preliminary communication with LIRC
[irwi] / src / irctrl.h
1 #ifndef IRCTRL_H
2 #define IRCTRL_H
3
4 #include <QObject>
5 #include <QString>
6
7 class IrCtrl : public QObject
8 {
9     Q_OBJECT
10 public:
11     IrCtrl();
12     ~IrCtrl();
13
14 public slots:
15     void sendCmd0(bool);
16     void sendCmd1(bool);
17     void sendCmd2(bool);
18     void sendCmd3(bool);
19     void sendCmd4(bool);
20     void sendCmd5(bool);
21
22 private:
23     static const quint16 LIRC_PORT = 8765;
24     void genericSendCmd(const QString &commandName);
25 };
26
27 #endif
28