aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sisfileheader.h
diff options
context:
space:
mode:
authorDaniel Brahneborg <basic@chello.se>2002-03-02 23:28:39 +0000
committerDaniel Brahneborg <basic@chello.se>2002-03-02 23:28:39 +0000
commit9df8909948bb491b1b8c53ff8e1b5ce125304aac (patch)
tree239befaacb77374dfd9c61ed45d592259bb969b0 /lib/sisfileheader.h
parent6f49fd782b8935b8caf7cea7bcb6e10644851b13 (diff)
downloadplptools-9df8909948bb491b1b8c53ff8e1b5ce125304aac.tar.gz
plptools-9df8909948bb491b1b8c53ff8e1b5ce125304aac.tar.bz2
plptools-9df8909948bb491b1b8c53ff8e1b5ce125304aac.zip
Various proto changes.
Diffstat (limited to 'lib/sisfileheader.h')
-rw-r--r--lib/sisfileheader.h15
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