aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sisfile.h
diff options
context:
space:
mode:
authorDaniel Brahneborg <basic@chello.se>2002-03-08 19:44:37 +0000
committerDaniel Brahneborg <basic@chello.se>2002-03-08 19:44:37 +0000
commit7378f5ddf46ef0317343ad310d703c4f4ff8d703 (patch)
tree5bdaf343a46d73c43dadc319d2806454097f6464 /lib/sisfile.h
parent0f623548115340cf5f2d39abf9098bf27b822b68 (diff)
downloadplptools-7378f5ddf46ef0317343ad310d703c4f4ff8d703.tar.gz
plptools-7378f5ddf46ef0317343ad310d703c4f4ff8d703.tar.bz2
plptools-7378f5ddf46ef0317343ad310d703c4f4ff8d703.zip
Initial stuff for checking requisites and previous versions.
Diffstat (limited to 'lib/sisfile.h')
-rw-r--r--lib/sisfile.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/sisfile.h b/lib/sisfile.h
index cae00ee..2bfcea5 100644
--- a/lib/sisfile.h
+++ b/lib/sisfile.h
@@ -38,6 +38,14 @@ class SISReqRecord;
class SISFile
{
public:
+
+ /**
+ * Compare uid and version number of this file, with another.
+ *
+ * @see SISFileHeader::compareApp()
+ */
+ SisRC compareApp(SISFile* other);
+
/**
* Populate the fields.
*
@@ -63,6 +71,11 @@ public:
uint8_t* getName();
/**
+ * Is this the same application?
+ */
+ bool sameApp(SISFile* other);
+
+ /**
* Set the installed drive.
*/
void setDrive(char drive);