diff options
Diffstat (limited to 'lib/sisfileheader.h')
-rw-r--r-- | lib/sisfileheader.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/sisfileheader.h b/lib/sisfileheader.h index 1583365..98ca179 100644 --- a/lib/sisfileheader.h +++ b/lib/sisfileheader.h @@ -15,6 +15,16 @@ public: */ void fillFrom(uchar* buf, int* base); + /** + * Update the drive letter, and patch the parsed buffer. + */ + void setDrive(char drive); + + /** + * Update the number of installed files, and patch the parsed buffer. + */ + void setFiles(int nFiles); + enum FileOptions { op_isUnicode = 1, op_isDistributable = 2, @@ -57,6 +67,11 @@ public: uint32 m_reqPtr; uint32 m_unknown; uint32 m_componentPtr; + +private: + + uchar* m_buf; + }; #endif |