Difference between revisions of "TODO"

Jump to navigation Jump to search
205 bytes removed ,  21:00, 13 November 2006
m (adding Touche engine/TODO link; removing unnecessary ")
Line 168: Line 168:


=== Streams ===
=== Streams ===
* Add a Sub(Seekable)Stream wrapper class: You pass a (Seekable)Stream, an offset and a size to it. It will pass all calls on to the wrapped stream, but will restrict access to the specified byte range. This then can be used in various places, e.g. in many of the AudioStream classes, to simplify code.
* Maybe add a "clone" method that makes a copy of the (seekable/readable) stream. In the case of files, this would create a new file descriptor. Purpose: Replace the Symbian hack in MP3InputStream and other places; in particular, often we need two parts of code to access the same file but in separate positions... Problem: It might not be possible on all our target systems to safely clone (file) streams.
* Add a "clone" method that makes a copy of the (seekable/readable) stream. In the case of files, this would create a new file descriptor. Purpose: Replace the Symbian hack in MP3InputStream and other places; in particular, often we need two parts of code to access the same file but in separate positions...


== Engines / frontends ==
== Engines / frontends ==
1,079

edits

Navigation menu