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.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/io_layer.h b/noncore/apps/opie-console/io_layer.h index 5f2fa3c..4977e94 100644 --- a/noncore/apps/opie-console/io_layer.h +++ b/noncore/apps/opie-console/io_layer.h @@ -2,5 +2,8 @@ #define OPIE_IO_LAYER_H +#include <qbitarray.h> #include <qobject.h> + + #include <qpe/config.h> @@ -24,4 +27,9 @@ public: /* add more errors here */ }; + enum Feature { + AutoConnect = 0, + TransferFile =1, + Close =2 + }; /** * a small c'tor @@ -66,4 +74,9 @@ public: virtual void closeRawIO(int); + /** + * What does the IOLayer support? + * Bits are related to features + */ + virtual QBitArray supports()const = 0; signals: @@ -80,4 +93,5 @@ signals: virtual void error( int, const QString& ); + virtual void closed(); public slots: /** |