diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-08-14 07:12:29 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-08-14 07:12:29 +0000 |
commit | 1b797548dff7e2475826ba29a71c3f496008988f (patch) | |
tree | 2a81ee2e8fa2f17fd95410aabbf44533d35a727a /src/gatsstream.h | |
download | libgats-1b797548dff7e2475826ba29a71c3f496008988f.tar.gz libgats-1b797548dff7e2475826ba29a71c3f496008988f.tar.bz2 libgats-1b797548dff7e2475826ba29a71c3f496008988f.tar.xz libgats-1b797548dff7e2475826ba29a71c3f496008988f.zip |
libgats gets it's own repo. The rest of the history is in my misc repo.
Diffstat (limited to 'src/gatsstream.h')
-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 | ||