Fixed BSD socket
[irwi] / src / irctrl.h
index 3bc71b4..d71983d 100644 (file)
@@ -3,8 +3,7 @@
 
 #include <QObject>
 #include <QString>
-
-class QTimer;
+#include <QTimer>
 
 class IrCtrl : public QObject
 {
@@ -15,15 +14,15 @@ public:
     ~IrCtrl();
 
 public slots:
-    void sendCmd(const QString &remoteName, const QString &cmd);
+    void sendCmd(const QString &cmd);
 
+    void stopLirc();
 private:
     void startLirc();
-    void stopLirc();
 
 private:
+    QTimer m_killLircTimer;
     static const quint16 LIRC_PORT = 8765;
-    QTimer *killLircTimer;
 };
 
 #endif