summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/io_serial.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/io_serial.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/io_serial.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/io_serial.h b/noncore/apps/opie-console/io_serial.h
new file mode 100644
index 0000000..c6a2efd
--- a/dev/null
+++ b/noncore/apps/opie-console/io_serial.h
@@ -0,0 +1,16 @@
+#ifndef OPIE_IO_SERIAL
+#define OPIE_IO_SERIAL
+
+#include "io_layer.h"
+
+class IOSerial : public IOLayer {
+ Q_OBJECT
+public:
+ IOSerial(const Config &);
+public slots:
+ void received(const QByteArray &);
+ void error(int, const QString &);
+};
+
+
+#endif /* OPIE_IO_SERIAL */