ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Common::ClickteamInstaller Class Reference
Inheritance diagram for Common::ClickteamInstaller:
Common::MemcachingCaseInsensitiveArchive Common::Archive

Classes

class  ClickteamTag
 

Public Types

enum  ClickteamTagId : uint16 {
  BANNER_IMAGE = 0x1235, FILE_LIST = 0x123a, STRINGS = 0x123e, UNINSTALLER = 0x123f,
  FILE_PATCHING_LIST = 0x1242
}
 
- Public Types inherited from Common::Archive
enum  ListMode { kListFilesOnly = 1, kListDirectoriesOnly = 2, kListAll = 3 }
 

Public Member Functions

bool hasFile (const Common::Path &path) const override
 
int listMembers (Common::ArchiveMemberList &) const override
 
const ArchiveMemberPtr getMember (const Common::Path &path) const override
 
Common::SharedArchiveContents readContentsForPath (const Common::Path &translated) const override
 
ClickteamTaggetTag (ClickteamTagId tagId) const
 
- Public Member Functions inherited from Common::MemcachingCaseInsensitiveArchive
 MemcachingCaseInsensitiveArchive (uint32 maxStronglyCachedSize=512)
 
SeekableReadStreamcreateReadStreamForMember (const Path &path) const
 
SeekableReadStreamcreateReadStreamForMemberAltStream (const Path &path, Common::AltStreamType altStreamType) const
 
virtual Path translatePath (const Path &path) const
 
virtual SharedArchiveContents readContentsForPathAltStream (const Path &translatedPath, AltStreamType altStreamType) const
 
- Public Member Functions inherited from Common::Archive
virtual bool isPathDirectory (const Path &path) const
 
virtual int listMatchingMembers (ArchiveMemberList &list, const Path &pattern, bool matchPathComponents=false) const
 
virtual SeekableReadStreamcreateReadStreamForMemberNext (const Path &path, const Archive *starting) const
 
Common::Error dumpArchive (const Path &destPath)
 
virtual char getPathSeparator () const
 
virtual bool getChildren (const Common::Path &path, Common::Array< Common::String > &list, ListMode mode=kListDirectoriesOnly, bool hidden=true) const
 

Static Public Member Functions

static ClickteamInstalleropenPatch (Common::SeekableReadStream *stream, bool verifyOriginal=true, bool verifyAllowSkip=true, Common::Archive *reference=&SearchMan, DisposeAfterUse::Flag dispose=DisposeAfterUse::NO)
 
static ClickteamInstalleropen (Common::SeekableReadStream *stream, DisposeAfterUse::Flag dispose=DisposeAfterUse::NO)
 
static ClickteamInstalleropen (const Common::FSNode &node)
 

Member Function Documentation

◆ hasFile()

bool Common::ClickteamInstaller::hasFile ( const Common::Path path) const
overridevirtual

Check if a member with the given name is present in the Archive. Patterns are not allowed, as this is meant to be a quick File::exists() replacement. This returns "true" for both files and directories.

Implements Common::Archive.

◆ listMembers()

int Common::ClickteamInstaller::listMembers ( Common::ArchiveMemberList list) const
overridevirtual

Add all members of the Archive to the list. Must only append to list, and not remove elements from it.

Returns
The number of names added to list.

Implements Common::Archive.

◆ getMember()

const ArchiveMemberPtr Common::ClickteamInstaller::getMember ( const Common::Path path) const
overridevirtual

Return an ArchiveMember representation of the given file.

Implements Common::Archive.


The documentation for this class was generated from the following file: