diff options
author | Matthew Hoops | 2012-07-27 11:47:49 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-07-27 11:47:49 -0400 |
commit | 9cca8ac9f2f9162d4201d59c9ed8be5ae2a32a2b (patch) | |
tree | 00803405800323f5a53ee86293c09c16e2d18e02 /video/video_decoder.h | |
parent | 991710d0a158bfce4e54bd240482a4e3044271d3 (diff) | |
download | scummvm-rg350-9cca8ac9f2f9162d4201d59c9ed8be5ae2a32a2b.tar.gz scummvm-rg350-9cca8ac9f2f9162d4201d59c9ed8be5ae2a32a2b.tar.bz2 scummvm-rg350-9cca8ac9f2f9162d4201d59c9ed8be5ae2a32a2b.zip |
VIDEO: Remove now unused Rewindable and Seekable classes
Diffstat (limited to 'video/video_decoder.h')
-rw-r--r-- | video/video_decoder.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/video/video_decoder.h b/video/video_decoder.h index eff5a7c396..3f5dc2c2ff 100644 --- a/video/video_decoder.h +++ b/video/video_decoder.h @@ -809,45 +809,6 @@ private: uint32 getFrameBeginTime(uint32 frame) const; }; -/** - * A VideoDecoder that can be rewound back to the beginning. - * @note This class is now deprecated. Use AdvancedVideoDecoder instead. - */ -class RewindableVideoDecoder : public virtual VideoDecoder { -public: - /** - * Rewind to the beginning of the video. - */ - virtual void rewind() = 0; -}; - -/** - * A VideoDecoder that can seek to a frame or point in time. - * @note This class is now deprecated. Use AdvancedVideoDecoder instead. - */ -class SeekableVideoDecoder : public virtual RewindableVideoDecoder { -public: - /** - * Seek to the specified time. - */ - virtual void seekToTime(const Audio::Timestamp &time) = 0; - - /** - * Seek to the specified time (in ms). - */ - void seekToTime(uint32 msecs) { seekToTime(Audio::Timestamp(msecs, 1000)); } - - /** - * Implementation of RewindableVideoDecoder::rewind(). - */ - virtual void rewind() { seekToTime(0); } - - /** - * Get the total duration of the video (in ms). - */ - virtual uint32 getDuration() const = 0; -}; - } // End of namespace Video #endif |