Diffstat (limited to 'noncore/apps/opie-console/io_layer.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/io_layer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/io_layer.h b/noncore/apps/opie-console/io_layer.h index b891b2b..7745021 100644 --- a/noncore/apps/opie-console/io_layer.h +++ b/noncore/apps/opie-console/io_layer.h | |||
@@ -40,24 +40,31 @@ public: | |||
40 | */ | 40 | */ |
41 | virtual ~IOLayer(); | 41 | virtual ~IOLayer(); |
42 | 42 | ||
43 | /** | 43 | /** |
44 | * a small internal identifier | 44 | * a small internal identifier |
45 | */ | 45 | */ |
46 | virtual QString identifier() const = 0; | 46 | virtual QString identifier() const = 0; |
47 | 47 | ||
48 | /** | 48 | /** |
49 | * a short name | 49 | * a short name |
50 | */ | 50 | */ |
51 | virtual QString name() const = 0; | 51 | virtual QString name() const = 0; |
52 | |||
53 | /** | ||
54 | * a file descriptor which opens | ||
55 | * the device for io but does not | ||
56 | * do any ioctling on it... | ||
57 | */ | ||
58 | virtual int rawIO()const; | ||
52 | signals: | 59 | signals: |
53 | /** | 60 | /** |
54 | * received input as QCString | 61 | * received input as QCString |
55 | */ | 62 | */ |
56 | virtual void received( const QByteArray& ) = 0; | 63 | virtual void received( const QByteArray& ) = 0; |
57 | 64 | ||
58 | /** | 65 | /** |
59 | * an error occured | 66 | * an error occured |
60 | * int for the error number | 67 | * int for the error number |
61 | * and QString for a text | 68 | * and QString for a text |
62 | */ | 69 | */ |
63 | virtual void error( int, const QString& ) = 0; | 70 | virtual void error( int, const QString& ) = 0; |