summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/io_layer.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/io_layer.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/io_layer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/io_layer.h b/noncore/apps/opie-console/io_layer.h
index bf5a893..9c99222 100644
--- a/noncore/apps/opie-console/io_layer.h
+++ b/noncore/apps/opie-console/io_layer.h
@@ -55,24 +55,26 @@ public:
55 * the device for io but does not 55 * the device for io but does not
56 * do any ioctling on it... 56 * do any ioctling on it...
57 * and it'll stop listening to the before opened 57 * and it'll stop listening to the before opened
58 * device 58 * device
59 */ 59 */
60 virtual int rawIO()const; 60 virtual int rawIO()const;
61 61
62 /** 62 /**
63 * will close the rawIO stuff 63 * will close the rawIO stuff
64 * and will listen to it's data again... 64 * and will listen to it's data again...
65 */ 65 */
66 virtual void closeRawIO(int); 66 virtual void closeRawIO(int);
67
68
67signals: 69signals:
68 /** 70 /**
69 * received input as QCString 71 * received input as QCString
70 */ 72 */
71 virtual void received( const QByteArray& ) = 0; 73 virtual void received( const QByteArray& ) = 0;
72 74
73 /** 75 /**
74 * an error occured 76 * an error occured
75 * int for the error number 77 * int for the error number
76 * and QString for a text 78 * and QString for a text
77 */ 79 */
78 virtual void error( int, const QString& ) = 0; 80 virtual void error( int, const QString& ) = 0;
@@ -88,15 +90,21 @@ public slots:
88 */ 90 */
89 virtual bool open() = 0; 91 virtual bool open() = 0;
90 92
91 /** 93 /**
92 * close the io 94 * close the io
93 */ 95 */
94 virtual void close() = 0; 96 virtual void close() = 0;
95 97
96 /** 98 /**
97 * closes and reloads the settings 99 * closes and reloads the settings
98 */ 100 */
99 virtual void reload( const Profile& ) = 0; 101 virtual void reload( const Profile& ) = 0;
102
103 /**
104 * set the size
105 * needed for pty
106 */
107 virtual void setSize(int rows, int cols );
100}; 108};
101 109
102#endif 110#endif