aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/file/base_file_entry.h
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-25 03:20:17 +0200
committerEinar Johan Trøan Sømåen2012-07-25 03:21:22 +0200
commitab8d13ee5806f7d9cf6e352482934ad371a55e11 (patch)
tree82af98d2071c92c0d97e6ce6c674f91fd7a9f74e /engines/wintermute/base/file/base_file_entry.h
parent7521d0f26545381a740307d3a1d2f52e53462bfa (diff)
downloadscummvm-rg350-ab8d13ee5806f7d9cf6e352482934ad371a55e11.tar.gz
scummvm-rg350-ab8d13ee5806f7d9cf6e352482934ad371a55e11.tar.bz2
scummvm-rg350-ab8d13ee5806f7d9cf6e352482934ad371a55e11.zip
WINTERMUTE: Change the DCP-file access to work as an Common::Archive.
Diffstat (limited to 'engines/wintermute/base/file/base_file_entry.h')
-rw-r--r--engines/wintermute/base/file/base_file_entry.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/wintermute/base/file/base_file_entry.h b/engines/wintermute/base/file/base_file_entry.h
index 086a70e7ed..b94a6cd9fc 100644
--- a/engines/wintermute/base/file/base_file_entry.h
+++ b/engines/wintermute/base/file/base_file_entry.h
@@ -29,14 +29,18 @@
#ifndef WINTERMUTE_BFILEENTRY_H
#define WINTERMUTE_BFILEENTRY_H
+#include "common/archive.h"
#include "common/str.h"
+#include "common/stream.h"
namespace WinterMute {
class BasePackage;
-class BaseFileEntry {
+class BaseFileEntry : public Common::ArchiveMember {
public:
+ virtual Common::SeekableReadStream *createReadStream() const;
+ virtual Common::String getName() const { return _filename; }
uint32 _timeDate2;
uint32 _timeDate1;
uint32 _flags;