From 384468c0148ede9ae8140b4fd75183368d26ada6 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 31 Aug 2010 09:45:21 +0000 Subject: SWORD25: Started to hook TheoraDecoder. Crashes at startup. svn-id: r53297 --- engines/sword25/package/packagemanager.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'engines/sword25/package/packagemanager.h') diff --git a/engines/sword25/package/packagemanager.h b/engines/sword25/package/packagemanager.h index c441fff122..4aaa05c589 100644 --- a/engines/sword25/package/packagemanager.h +++ b/engines/sword25/package/packagemanager.h @@ -101,6 +101,13 @@ public: * @remark The client must not forget to release the data of the file using BE_DELETE_A. */ virtual byte *GetFile(const Common::String &FileName, unsigned int *pFileSize = NULL) = 0; + + /** + * Returns a stream from file file from the virtual directory tree + * @param FileName The filename of the file to load + * @return Pointer to the stream object + */ + virtual Common::SeekableReadStream *GetStream(const Common::String &fileName) = 0; /** * Downloads an XML file and prefixes it with an XML Version key, since the XML files don't contain it, * and it is required for ScummVM to correctly parse the XML. -- cgit v1.2.3