summaryrefslogtreecommitdiff
path: root/noncore/tools/remote/learntab.h
authorspiralman <spiralman>2002-07-23 22:34:51 (UTC)
committer spiralman <spiralman>2002-07-23 22:34:51 (UTC)
commit7b69ef59464072521adb20148d49f9c654c066ee (patch) (side-by-side diff)
tree449ef1dbfeac19f18b1ded20b4865353fa71452c /noncore/tools/remote/learntab.h
parentc344a4f4d0a614cfeb75d1d935e1f519d473c068 (diff)
downloadopie-7b69ef59464072521adb20148d49f9c654c066ee.zip
opie-7b69ef59464072521adb20148d49f9c654c066ee.tar.gz
opie-7b69ef59464072521adb20148d49f9c654c066ee.tar.bz2
Added code for irrecord frontend, doesnt work yet.
Diffstat (limited to 'noncore/tools/remote/learntab.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/remote/learntab.h31
1 files changed, 30 insertions, 1 deletions
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 <qwidget.h>
-#include <qtextview.h>
+#include <qlistbox.h>
#include <qstring.h>
+#include <qstringlist.h>
#include <qlayout.h>
+#include <qpushbutton.h>
+#include <qmessagebox.h>
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/socket.h>
+#include <sys/types.h>
+#include <sys/un.h>
+#include <unistd.h>
+#include <errno.h>
+
+#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;
};