5 #ifndef __I_FILE_ARCHIVE_H_INCLUDED__ 6 #define __I_FILE_ARCHIVE_H_INCLUDED__ The type of this archive is unknown.
Interface providing read access to a file.
An ID Software PAK archive.
virtual IReadFile * createAndOpenFile(const path &filename)=0
Opens a file based on its name.
Provides a list of files and folders.
Class which is able to create an archive from a file.
EFileSystemType
FileSystemType: which filesystem should be used for e.g. browsing.
An Android asset file archive.
Everything in the Irrlicht Engine can be found in this namespace.
virtual IFileArchive * createArchive(const path &filename, bool ignoreCase, bool ignorePaths) const =0
Creates an archive from the filename.
virtual const io::path & getArchiveName() const =0
return the name (id) of the file Archive
virtual E_FILE_ARCHIVE_TYPE getType() const
get the archive type
unsigned int u32
32 bit unsigned variable.
E_FILE_ARCHIVE_TYPE
Contains the different types of archives.
virtual bool isALoadableFileFormat(const path &filename) const =0
Check if the file might be loaded by this class.
#define MAKE_IRR_ID(c0, c1, c2, c3)
ignore VC8 warning deprecated
Base class of most objects of the Irrlicht Engine.
core::stringc Password
An optionally used password string.
virtual const IFileList * getFileList() const =0
Returns the complete file tree.
The FileArchive manages archives and provides access to files inside them.
A wad Archive, Quake2, Halflife.
virtual void addDirectoryToFileList(const io::path &filename)
Add a directory in the archive and all it's files to the FileList.