From ec2309cb69365847762db542c41951629cd06cbe Mon Sep 17 00:00:00 2001 From: paule Date: Sun, 28 Jan 2007 04:04:14 +0000 Subject: Refactored out all communication with LIRC into new LircHandler class --- (limited to 'noncore/tools/remote/learntab.h') diff --git a/noncore/tools/remote/learntab.h b/noncore/tools/remote/learntab.h index cb84600..c9d8e41 100644 --- a/noncore/tools/remote/learntab.h +++ b/noncore/tools/remote/learntab.h @@ -32,24 +32,17 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #include #include "recorddialog.h" - -#define PACKET_SIZE 256 -#define TIMEOUT 3 +#include "lirchandler.h" class LearnTab : public QWidget { Q_OBJECT public: LearnTab(QWidget *parent=0, const char *name=0); - const char *readPacket(); - QStringList getRemotes(); public slots: void add(); void edit(); void del(); private: QListBox *remotesBox; - int fd; - int timeout; - struct sockaddr_un addr; }; -- cgit v0.9.0.2