summaryrefslogtreecommitdiff
path: root/noncore/tools/remote/recorddialog.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/recorddialog.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/recorddialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/remote/recorddialog.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/noncore/tools/remote/recorddialog.h b/noncore/tools/remote/recorddialog.h
new file mode 100644
index 0000000..38b2bb4
--- a/dev/null
+++ b/noncore/tools/remote/recorddialog.h
@@ -0,0 +1,43 @@
+/*
+Opie-Remote. emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie.
+Copyright (C) 2002 Thomas Stephens
+
+This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public
+License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later
+version.
+
+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
+implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along with this program; if not, write to the Free
+Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+*/
+
+#include <qdialog.h>
+#include <qtextview.h>
+#include <qlineedit.h>
+#include <qpushbutton.h>
+#include <qwidget.h>
+#include <qlayout.h>
+#include <qmessagebox.h>
+
+#include <stdio.h>
+
+#include <opie/oprocess.h>
+
+class RecordDialog : public QDialog
+{
+ Q_OBJECT
+public:
+ RecordDialog(QWidget *parent=0, const char *name=0);
+public slots:
+ void retPressed();
+ void incoming(OProcess *proc, char *buffer, int len);
+ void done(OProcess *proc);
+private:
+ QTextView *output;
+ QLineEdit *input;
+ OProcess *record;
+ int where;
+}; \ No newline at end of file