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