mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 17:33:05 +00:00
Moved Stream::eos() to ReadStream::eos()
svn-id: r17853
This commit is contained in:
parent
3b1f8da4be
commit
b515dd1333
@ -35,11 +35,6 @@ class String;
|
||||
*/
|
||||
class Stream {
|
||||
public:
|
||||
/**
|
||||
* Returns true if the end of the stream has been reached.
|
||||
*/
|
||||
virtual bool eos() const = 0;
|
||||
|
||||
/**
|
||||
* Returns true if any I/O failure occured.
|
||||
* This flag is never cleared automatically. In order to clear it,
|
||||
@ -128,6 +123,11 @@ public:
|
||||
*/
|
||||
class ReadStream : virtual public Stream {
|
||||
public:
|
||||
/**
|
||||
* Returns true if the end of the stream has been reached.
|
||||
*/
|
||||
virtual bool eos() const = 0;
|
||||
|
||||
/**
|
||||
* Read data from the stream. Subclasses must implement this
|
||||
* method; all other read methods are implemented using it.
|
||||
|
Loading…
x
Reference in New Issue
Block a user