Max Horn
969ef3dac9
* Added new virtual base class 'Stream', ReadStream and
...
WriteStream are now subclasses of it.
* Added new methods eos(), ioFailed(), clearIOFailed() to
all streams. This allows better error checking.
* SaveFile classes take advantage of these new standard
stream APIS
* Removed File::gets()
* Added SeekableReadStream::readLine() (replaces File::gets)
* Added WriteStream::writeString, for convenience
svn-id: r17752
2005-04-22 17:40:09 +00:00
Torbjörn Andersson
9d1f4ff1e6
Since _pos is unsigned it's always >= 0, so testing for negativity will
...
generate a warning in GCC.
svn-id: r16496
2005-01-09 14:57:41 +00:00
Max Horn
bc44b5ec15
Added new interface SeekableReadStream
...
svn-id: r16493
2005-01-09 01:41:43 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
369e31a41c
Modified version of patch #1082777 (common/stream optimization)
...
svn-id: r16034
2004-12-11 23:16:36 +00:00
Eugene Sandulenko
b9ebd68022
Enchance ReadStream and MemoryReadStream with 24bits operations as well
...
as tell() and rewind() methods, as needed by SAGA engine.
svn-id: r13772
2004-05-04 03:27:00 +00:00
Max Horn
33ef0d0a4b
Added signed read/write methods to the Stream classes
...
svn-id: r13680
2004-04-29 20:28:42 +00:00
Max Horn
e17a15d96e
Introduce ReadStream and WriteStream (as explained in my File class design mails on scummvm-devel)
...
svn-id: r13595
2004-04-17 09:57:15 +00:00