diff options
Diffstat (limited to '')
-rw-r--r-- | src/stream.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/stream.h b/src/stream.h index 086e4a1..32e5432 100644 --- a/src/stream.h +++ b/src/stream.h | |||
@@ -12,7 +12,12 @@ public: | |||
12 | 12 | ||
13 | virtual void close() = 0; | 13 | virtual void close() = 0; |
14 | virtual size_t read( char *pBuf, size_t nBytes ) = 0; | 14 | virtual size_t read( char *pBuf, size_t nBytes ) = 0; |
15 | virtual size_t write( 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; | ||
16 | 21 | ||
17 | private: | 22 | private: |
18 | 23 | ||