diff options
Diffstat (limited to 'common/file.h')
-rw-r--r-- | common/file.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/common/file.h b/common/file.h index 6f18edbeb4..240835b5b9 100644 --- a/common/file.h +++ b/common/file.h @@ -154,29 +154,6 @@ public: virtual void flush(); }; - -class StdioStream : public SeekableReadStream, public WriteStream, public NonCopyable { -protected: - /** File handle to the actual file. */ - void *_handle; - -public: - StdioStream(void *handle); - virtual ~StdioStream(); - - bool ioFailed() const; - void clearIOFailed(); - bool eos() const; - - virtual uint32 write(const void *dataPtr, uint32 dataSize); - virtual void flush(); - - virtual uint32 pos() const; - virtual uint32 size() const; - void seek(int32 offs, int whence = SEEK_SET); - uint32 read(void *dataPtr, uint32 dataSize); -}; - } // End of namespace Common #endif |