diff options
Diffstat (limited to '')
-rw-r--r-- | src/gatsstream.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/gatsstream.h b/src/gatsstream.h new file mode 100644 index 0000000..d668c28 --- /dev/null +++ b/src/gatsstream.h | |||
@@ -0,0 +1,24 @@ | |||
1 | #ifndef GATS_STREAM_H | ||
2 | #define GATS_STREAM_H | ||
3 | |||
4 | #include <bu/stream.h> | ||
5 | |||
6 | namespace Gats | ||
7 | { | ||
8 | class Object; | ||
9 | |||
10 | class GatsStream | ||
11 | { | ||
12 | public: | ||
13 | GatsStream( Bu::Stream &rStream ); | ||
14 | virtual ~GatsStream(); | ||
15 | |||
16 | Gats::Object *readObject(); | ||
17 | void writeObject( Gats::Object *pObject ); | ||
18 | |||
19 | private: | ||
20 | Bu::Stream &rStream; | ||
21 | }; | ||
22 | }; | ||
23 | |||
24 | #endif | ||