[Scummvm-cvs-logs] CVS: scummvm/common stream.h,1.16,1.17
Max Horn
fingolfin at users.sourceforge.net
Thu Apr 28 14:01:22 CEST 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga actor.cpp,1.122,1.123 actor.h,1.66,1.67 saveload.cpp,1.3,1.4
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm util.cpp,2.8,2.9 util.h,2.8,2.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14688
Modified Files:
stream.h
Log Message:
Moved Stream::eos() to ReadStream::eos()
Index: stream.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/stream.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- stream.h 22 Apr 2005 17:40:07 -0000 1.16
+++ stream.h 28 Apr 2005 20:59:19 -0000 1.17
@@ -36,11 +36,6 @@
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 @@
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.
*
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga actor.cpp,1.122,1.123 actor.h,1.66,1.67 saveload.cpp,1.3,1.4
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm util.cpp,2.8,2.9 util.h,2.8,2.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list