class SISFileHeader
|
The first part of a SISFile. More... |
|
|
Public Types
- enum FileOptions {op_isUnicode = 1, op_isDistributable = 2, op_noCompress = 8, op_shutdownApps = 16, }
- enum FileType {FT_App = 0, FT_System = 1, FT_Option = 2, FT_Config = 3, FT_Patch = 4, FT_Upgrade = 5, }
Public Methods
Public Members
Detailed Description
The first part of a SISFile.
This file header is referenced from most other parts of the sis file,
mainly since it contains the list of languages.
Compare uid and version number of this file, with another.
SisRC fillFrom (uint8_t* buf, int* base, off_t len)
|
Populate the fields.
Parameters:
buf | The buffer to read from.
|
base | The index to start reading from, which is updated
when the header is successfully read.
|
len | The length of the buffer.
|
void setDrive (char drive)
|
Update the drive letter, and patch the parsed buffer.
void setFiles (int nFiles)
|
Update the number of installed files, and patch the parsed buffer.
enum FileOptions {op_isUnicode = 1, op_isDistributable = 2, op_noCompress = 8, op_shutdownApps = 16, }
|
enum FileType {FT_App = 0, FT_System = 1, FT_Option = 2, FT_Config = 3, FT_Patch = 4, FT_Upgrade = 5, }
|
uint16_t m_installationLanguage
|
uint16_t m_installationFiles
|
uint32_t m_installationDrive
|
uint32_t m_installerVersion
|
Generated by: felfert@usw-pr-shell1.sourceforge.net on Sat Aug 10 18:46:04 2002, using kdoc 2.0a36. |