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 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/io_layer.h b/noncore/apps/opie-console/io_layer.h index 537c851..2f1ceef 100644 --- a/noncore/apps/opie-console/io_layer.h +++ b/noncore/apps/opie-console/io_layer.h | |||
@@ -1,18 +1,19 @@ | |||
1 | #ifndef OPIE_IO_LAYER_H | 1 | #ifndef OPIE_IO_LAYER_H |
2 | #define OPIE_IO_LAYER_H | 2 | #define OPIE_IO_LAYER_H |
3 | 3 | ||
4 | #include <qobject.h> | 4 | #include <qobject.h> |
5 | #include <qpe/config.h> | 5 | #include <qpe/config.h> |
6 | 6 | ||
7 | #include "profile.h" | ||
8 | |||
7 | /** | 9 | /** |
8 | * This is the base class for IO Layers | 10 | * This is the base class for IO Layers |
9 | * It will used to sent and recv data( QByteArray ) | 11 | * It will used to sent and recv data( QByteArray ) |
10 | * it | 12 | * it |
11 | */ | 13 | */ |
12 | class Config; | ||
13 | class IOLayer : public QObject { | 14 | class IOLayer : public QObject { |
14 | Q_OBJECT | 15 | Q_OBJECT |
15 | public: | 16 | public: |
16 | enum Error { | 17 | enum Error { |
17 | NoError = -1, | 18 | NoError = -1, |
18 | Refuse = 0, | 19 | Refuse = 0, |
@@ -29,13 +30,13 @@ public: | |||
29 | 30 | ||
30 | /** | 31 | /** |
31 | * create an IOLayer instance from a config file | 32 | * create an IOLayer instance from a config file |
32 | * the currently set group stores the profile/session | 33 | * the currently set group stores the profile/session |
33 | * information | 34 | * information |
34 | */ | 35 | */ |
35 | IOLayer( const Config& ); | 36 | IOLayer( const Profile& ); |
36 | 37 | ||
37 | /** | 38 | /** |
38 | * destructor | 39 | * destructor |
39 | */ | 40 | */ |
40 | virtual ~IOLayer(); | 41 | virtual ~IOLayer(); |
41 | 42 | ||