From 7b69ef59464072521adb20148d49f9c654c066ee Mon Sep 17 00:00:00 2001 From: spiralman Date: Tue, 23 Jul 2002 22:34:51 +0000 Subject: Added code for irrecord frontend, doesnt work yet. --- (limited to 'noncore/tools/remote/learntab.h') diff --git a/noncore/tools/remote/learntab.h b/noncore/tools/remote/learntab.h index c03f605..cb84600 100644 --- a/noncore/tools/remote/learntab.h +++ b/noncore/tools/remote/learntab.h @@ -15,12 +15,41 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include -#include +#include #include +#include #include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include + +#include "recorddialog.h" + +#define PACKET_SIZE 256 +#define TIMEOUT 3 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