diff options
Diffstat (limited to 'shell/inc/stream_helper.hxx')
-rw-r--r-- | shell/inc/stream_helper.hxx | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/shell/inc/stream_helper.hxx b/shell/inc/stream_helper.hxx index bcd2f28f04ff..99976cc562d8 100644 --- a/shell/inc/stream_helper.hxx +++ b/shell/inc/stream_helper.hxx @@ -28,25 +28,27 @@ struct IStream; class BufferStream : public StreamInterface { public: - BufferStream(IStream *str); + BufferStream(IStream* str); ~BufferStream() override; - unsigned long sread (unsigned char *vuf, unsigned long size) override; - long stell () override; - long sseek (long offset, int origin) override; + unsigned long sread(unsigned char* vuf, unsigned long size) override; + long stell() override; + long sseek(long offset, int origin) override; + private: - IStream *stream; + IStream* stream; }; class FileStream : public StreamInterface { public: - FileStream(const Filepath_char_t *filename); + FileStream(const Filepath_char_t* filename); ~FileStream() override; - unsigned long sread (unsigned char *buf, unsigned long size) override; - long stell () override; - long sseek (long offset, int origin) override; + unsigned long sread(unsigned char* buf, unsigned long size) override; + long stell() override; + long sseek(long offset, int origin) override; + private: - FILE *file; + FILE* file; }; #endif |