diff options
author | Max Horn | 2005-04-28 20:59:19 +0000 |
---|---|---|
committer | Max Horn | 2005-04-28 20:59:19 +0000 |
commit | b515dd1333364a6478c630fe0556a1dd7bc846d9 (patch) | |
tree | db5ea48379a0440286a789e36a2848b578d275ac /common | |
parent | 3b1f8da4beedf60b41f5226f314bffc221965c20 (diff) | |
download | scummvm-rg350-b515dd1333364a6478c630fe0556a1dd7bc846d9.tar.gz scummvm-rg350-b515dd1333364a6478c630fe0556a1dd7bc846d9.tar.bz2 scummvm-rg350-b515dd1333364a6478c630fe0556a1dd7bc846d9.zip |
Moved Stream::eos() to ReadStream::eos()
svn-id: r17853
Diffstat (limited to 'common')
-rw-r--r-- | common/stream.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/common/stream.h b/common/stream.h index 7079d8472b..86287e482f 100644 --- a/common/stream.h +++ b/common/stream.h @@ -36,11 +36,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, * client code has to call clearIOFailed() explicitly. @@ -129,6 +124,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. * |