aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2005-04-28 20:59:19 +0000
committerMax Horn2005-04-28 20:59:19 +0000
commitb515dd1333364a6478c630fe0556a1dd7bc846d9 (patch)
treedb5ea48379a0440286a789e36a2848b578d275ac
parent3b1f8da4beedf60b41f5226f314bffc221965c20 (diff)
downloadscummvm-rg350-b515dd1333364a6478c630fe0556a1dd7bc846d9.tar.gz
scummvm-rg350-b515dd1333364a6478c630fe0556a1dd7bc846d9.tar.bz2
scummvm-rg350-b515dd1333364a6478c630fe0556a1dd7bc846d9.zip
Moved Stream::eos() to ReadStream::eos()
svn-id: r17853
-rw-r--r--common/stream.h10
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.
*