From dbfc3ee2b91ed26eb00e85a32c715995f4fce41b Mon Sep 17 00:00:00 2001 From: Daniel Brahneborg Date: Mon, 4 Mar 2002 14:31:16 +0000 Subject: Use plp standard types. Fix copyright include. --- lib/sisfilerecord.h | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'lib/sisfilerecord.h') diff --git a/lib/sisfilerecord.h b/lib/sisfilerecord.h index ae99836..0f6526b 100644 --- a/lib/sisfilerecord.h +++ b/lib/sisfilerecord.h @@ -1,4 +1,4 @@ -/** -*-c++-*- +/* -*-c++-*- * $Id$ * * This file is part of plptools. @@ -25,8 +25,6 @@ #include "sistypes.h" -#include - class SISFile; /** @@ -42,12 +40,12 @@ public: /** * Populate the fields. */ - SisRC fillFrom(uchar* buf, int* base, off_t len, SISFile* sisFile); + SisRC fillFrom(uint8_t* buf, int* base, off_t len, SISFile* sisFile); /** * 1 if multiple language versions, otherwise 0. */ - uint32 m_flags; + uint32_t m_flags; /** * Type of file. @@ -59,7 +57,7 @@ public: * - 4. Does not exist yet, but will be created when app is run, so * it should not be removed during an upgrade. */ - uint32 m_fileType; + uint32_t m_fileType; /** * If file type is 1: @@ -74,14 +72,14 @@ public: * - 1. Run during removal. * - 2. Run during both installation and removal. */ - uint32 m_fileDetails; + uint32_t m_fileDetails; - uint32 m_sourceLength; - uint32 m_sourcePtr; - uint32 m_destLength; - uint32 m_destPtr; - uint32* m_fileLengths; - uint32* m_filePtrs; + uint32_t m_sourceLength; + uint32_t m_sourcePtr; + uint32_t m_destLength; + uint32_t m_destPtr; + uint32_t* m_fileLengths; + uint32_t* m_filePtrs; }; #endif -- cgit v1.2.3