From 7378f5ddf46ef0317343ad310d703c4f4ff8d703 Mon Sep 17 00:00:00 2001 From: Daniel Brahneborg Date: Fri, 8 Mar 2002 19:44:37 +0000 Subject: Initial stuff for checking requisites and previous versions. --- lib/sisfile.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'lib/sisfile.h') 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. * @@ -62,6 +70,11 @@ public: */ uint8_t* getName(); + /** + * Is this the same application? + */ + bool sameApp(SISFile* other); + /** * Set the installed drive. */ -- cgit v1.2.3