aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMatthew Hoops2009-12-31 00:37:40 +0000
committerMatthew Hoops2009-12-31 00:37:40 +0000
commit85787988a03c247e01596ebbb1386a478ded2df7 (patch)
treee05fc8c494f1022f5d8320978a6dc454d887bd1b /common
parent5c52ed9f4be95fb68267139a6e329112f234ef2e (diff)
downloadscummvm-rg350-85787988a03c247e01596ebbb1386a478ded2df7.tar.gz
scummvm-rg350-85787988a03c247e01596ebbb1386a478ded2df7.tar.bz2
scummvm-rg350-85787988a03c247e01596ebbb1386a478ded2df7.zip
Remove the getBeginOffset() hack from Common::SeekableReadStream and introduce QTPlayer::setChunkBeginOffset() to allow specifying what offset to use.
svn-id: r46786
Diffstat (limited to 'common')
-rw-r--r--common/stream.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/common/stream.h b/common/stream.h
index 02d170132d..2a8a9e4fc4 100644
--- a/common/stream.h
+++ b/common/stream.h
@@ -388,13 +388,6 @@ public:
* err() or eos() to determine whether an exception occurred.
*/
virtual String readLine();
-
- /**
- * Return the beginning offset in the stream, which defaults to 0.
- *
- * @return the beginning offset of the stream
- */
- virtual uint32 getBeginOffset() { return 0; }
};
@@ -454,7 +447,6 @@ public:
virtual int32 pos() const { return _pos - _begin; }
virtual int32 size() const { return _end - _begin; }
- virtual uint32 getBeginOffset() { return _begin; }
virtual bool seek(int32 offset, int whence = SEEK_SET);
};