More tests for Remote class
[irwi] / src / irctrl.h
1 #ifndef IRCTRL_H
2 #define IRCTRL_H
3
4 #include <QObject>
5 #include <QString>
6 #include <QTimer>
7
8 class IrCtrl : public QObject
9 {
10     Q_OBJECT
11
12 public:
13     explicit IrCtrl(QObject *parent = 0);
14     ~IrCtrl();
15
16 public slots:
17     void sendCmd(const QString &cmd);
18
19     void stopLirc();
20 private:
21     void startLirc();
22
23 private:
24     QTimer m_killLircTimer;
25     static const quint16 LIRC_PORT = 8765;
26 };
27
28 #endif
29