author | paule <paule> | 2007-01-28 04:04:14 (UTC) |
---|---|---|
committer | paule <paule> | 2007-01-28 04:04:14 (UTC) |
commit | ec2309cb69365847762db542c41951629cd06cbe (patch) (unidiff) | |
tree | 2f0101c1f0d6268207dbd15eb21f40c812a4fff5 /noncore/tools/remote/learntab.h | |
parent | 3cd37427b5c5f26f62cff583fbde914467ddafe3 (diff) | |
download | opie-ec2309cb69365847762db542c41951629cd06cbe.zip opie-ec2309cb69365847762db542c41951629cd06cbe.tar.gz opie-ec2309cb69365847762db542c41951629cd06cbe.tar.bz2 |
Refactored out all communication with LIRC into new LircHandler class
Diffstat (limited to 'noncore/tools/remote/learntab.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/remote/learntab.h | 9 |
1 files changed, 1 insertions, 8 deletions
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 | |||
@@ -29,27 +29,20 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
29 | #include <sys/types.h> | 29 | #include <sys/types.h> |
30 | #include <sys/un.h> | 30 | #include <sys/un.h> |
31 | #include <unistd.h> | 31 | #include <unistd.h> |
32 | #include <errno.h> | 32 | #include <errno.h> |
33 | 33 | ||
34 | #include "recorddialog.h" | 34 | #include "recorddialog.h" |
35 | 35 | #include "lirchandler.h" | |
36 | #define PACKET_SIZE 256 | ||
37 | #define TIMEOUT 3 | ||
38 | 36 | ||
39 | class LearnTab : public QWidget | 37 | class LearnTab : public QWidget |
40 | { | 38 | { |
41 | Q_OBJECT | 39 | Q_OBJECT |
42 | public: | 40 | public: |
43 | LearnTab(QWidget *parent=0, const char *name=0); | 41 | LearnTab(QWidget *parent=0, const char *name=0); |
44 | const char *readPacket(); | ||
45 | QStringList getRemotes(); | ||
46 | public slots: | 42 | public slots: |
47 | void add(); | 43 | void add(); |
48 | void edit(); | 44 | void edit(); |
49 | void del(); | 45 | void del(); |
50 | private: | 46 | private: |
51 | QListBox *remotesBox; | 47 | QListBox *remotesBox; |
52 | int fd; | ||
53 | int timeout; | ||
54 | struct sockaddr_un addr; | ||
55 | }; | 48 | }; |