diff options
Diffstat (limited to 'src/stream.h')
-rw-r--r-- | src/stream.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/stream.h b/src/stream.h deleted file mode 100644 index e086e28..0000000 --- a/src/stream.h +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | #ifndef STREAM_H | ||
2 | #define STREAM_H | ||
3 | |||
4 | #include <stdint.h> | ||
5 | #include <stdio.h> | ||
6 | |||
7 | class Stream | ||
8 | { | ||
9 | public: | ||
10 | Stream(); | ||
11 | virtual ~Stream(); | ||
12 | |||
13 | virtual void close() = 0; | ||
14 | virtual size_t read( char *pBuf, size_t nBytes ) = 0; | ||
15 | virtual size_t write( const char *pBuf, size_t nBytes ) = 0; | ||
16 | |||
17 | virtual long tell() = 0; | ||
18 | virtual void seek( long offset ) = 0; | ||
19 | virtual void setPos( long pos ) = 0; | ||
20 | virtual void setPosEnd( long pos ) = 0; | ||
21 | virtual bool isEOS() = 0; | ||
22 | |||
23 | private: | ||
24 | |||
25 | }; | ||
26 | |||
27 | #endif | ||