File reader for generic compression file formats. Current formats: ZIP, 7Z. More...
#include <modreader.h>
Public Member Functions | |
CompressedReader (const QString &path) | |
Construct a new reader to manage the compressed file. More... | |
QStringList | getAllMaps () override |
Get a list of the maps that this compressed file contains. More... | |
bool | isIwad () override |
returns whether or not this is a IWAD. It will always be false. More... | |
bool | load () override |
loads the compressed file set in the constructor. More... | |
Protected Member Functions | |
QStringList | getAllMapsRootDir () |
Protected Attributes | |
DPtr< CompressedReader > | d |
Additional Inherited Members | |
Static Public Member Functions inherited from ModReader | |
static QSharedPointer< ModReader > | create (const QString &path) |
File reader for generic compression file formats. Current formats: ZIP, 7Z.
Definition at line 107 of file modreader.h.
CompressedReader::CompressedReader | ( | const QString & | path | ) |
Construct a new reader to manage the compressed file.
path | absolute path to the compressed file. |
|
overridevirtual |
Get a list of the maps that this compressed file contains.
Implements ModReader.
Reimplemented in PkReader.
Definition at line 216 of file modreader.cpp.
|
inlineoverridevirtual |
returns whether or not this is a IWAD. It will always be false.
Implements ModReader.
Definition at line 126 of file modreader.h.
|
overridevirtual |
loads the compressed file set in the constructor.
Implements ModReader.
Definition at line 204 of file modreader.cpp.