Fixed BSD socket
[irwi] / src / irctrl.h
index 1cc42ed..d71983d 100644 (file)
@@ -3,8 +3,7 @@
 
 #include <QObject>
 #include <QString>
-
-class QTimer;
+#include <QTimer>
 
 class IrCtrl : public QObject
 {
@@ -17,13 +16,13 @@ public:
 public slots:
     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