diff options
author | Sven Hesse | 2010-08-08 00:46:34 +0000 |
---|---|---|
committer | Sven Hesse | 2010-08-08 00:46:34 +0000 |
commit | 737ef0270718c2f7fb92784f337a308967d57ce3 (patch) | |
tree | 238f83e71ed603738bd9eadb33a10365c8b9599c /graphics/video | |
parent | 933ffcaa60e8eea09054038887f9dcd2e2772473 (diff) | |
download | scummvm-rg350-737ef0270718c2f7fb92784f337a308967d57ce3.tar.gz scummvm-rg350-737ef0270718c2f7fb92784f337a308967d57ce3.tar.bz2 scummvm-rg350-737ef0270718c2f7fb92784f337a308967d57ce3.zip |
VIDEO/GOB: Stub hasEmbeddedFile / getEmbeddedFile
Stubbing CoktelDecoder::hasEmbeddedFile() and
CoktelDecoder::getEmbeddedFile(), formerly hasExtraData/getExtraData.
svn-id: r51875
Diffstat (limited to 'graphics/video')
-rw-r--r-- | graphics/video/coktel_decoder.cpp | 8 | ||||
-rw-r--r-- | graphics/video/coktel_decoder.h | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/graphics/video/coktel_decoder.cpp b/graphics/video/coktel_decoder.cpp index 4e5a8fe6e5..41d4664937 100644 --- a/graphics/video/coktel_decoder.cpp +++ b/graphics/video/coktel_decoder.cpp @@ -169,6 +169,14 @@ void CoktelDecoder::disableSound() { _audioStream = 0; } +bool CoktelDecoder::hasEmbeddedFile(const Common::String &fileName) const { + return false; +} + +Common::MemoryReadStream *CoktelDecoder::getEmbeddedFile(const Common::String &fileName) const { + return 0; +} + void CoktelDecoder::close() { disableSound(); freeSurface(); diff --git a/graphics/video/coktel_decoder.h b/graphics/video/coktel_decoder.h index a8449a25ac..2c47951be9 100644 --- a/graphics/video/coktel_decoder.h +++ b/graphics/video/coktel_decoder.h @@ -93,6 +93,11 @@ public: void enableSound(); void disableSound(); + /** Return whether that embedded file exists. */ + virtual bool hasEmbeddedFile(const Common::String &fileName) const; + + /** Return that embedded file. */ + virtual Common::MemoryReadStream *getEmbeddedFile(const Common::String &fileName) const; // VideoDecoder interface |