22 #ifndef MADS_MPS_INSTALLER_H 23 #define MADS_MPS_INSTALLER_H 25 #include "common/archive.h" 26 #include "common/ptr.h" 27 #include "common/stream.h" 28 #include "common/hashmap.h" 29 #include "common/hash-str.h" 44 class FileDescriptor {
47 FileDescriptor() : _compressedSize(0),
56 uint32 offsetInVolume,
57 uint32 compressedSize,
58 uint32 uncompressedSize) :
60 _compressionAlgo(compression),
61 _volumeNumber(volumeNumber),
62 _offsetInVolume(offsetInVolume),
63 _compressedSize(compressedSize),
64 _uncompressedSize(uncompressedSize) {}
67 uint _compressionAlgo;
69 uint32 _offsetInVolume;
70 uint32 _compressedSize;
71 uint32 _uncompressedSize;
79 const Common::Path& baseName) : _files(files), _baseName(baseName) {}
Definition: mps_installer.h:33
bool hasFile(const Common::Path &path) const override
int listMembers(Common::ArchiveMemberList &) const override
const Common::ArchiveMemberPtr getMember(const Common::Path &path) const override
Definition: archive.h:224
Definition: archive.h:269