summaryrefslogtreecommitdiff
path: root/src/IPFFileFormatUnit.pas
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2009-10-14 14:55:49 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2009-10-14 14:55:49 +0200
commitf3711699e6dc6f80e9da39eed2acc3b08074367f (patch)
tree90c0c864f59dccf22a8c8a851a5b2c67ef329659 /src/IPFFileFormatUnit.pas
parent42f0658b278fdae8de0ebd1c0fb5cba10b1736d4 (diff)
downloadfpGUI-f3711699e6dc6f80e9da39eed2acc3b08074367f.tar.xz
Minor code formatting
Diffstat (limited to 'src/IPFFileFormatUnit.pas')
-rw-r--r--src/IPFFileFormatUnit.pas30
1 files changed, 17 insertions, 13 deletions
diff --git a/src/IPFFileFormatUnit.pas b/src/IPFFileFormatUnit.pas
index ac1771f7..4ac87108 100644
--- a/src/IPFFileFormatUnit.pas
+++ b/src/IPFFileFormatUnit.pas
@@ -14,34 +14,38 @@ uses
SysUtils;
type
- uint32 = longword;
- uint16 = word;
- uint8 = byte;
- pUInt16 = ^ uint16;
- pUInt32 = ^ uint32;
- pUInt8 = ^ uint8;
-
- PCharArray = packed array[ 0..0 ] of PCHar;
+ uint32 = longword;
+ uint16 = word;
+ uint8 = byte;
+ pUInt16 = ^uint16;
+ pUInt32 = ^uint32;
+ pUInt8 = ^uint8;
+
+ PCharArray = packed array[ 0..0 ] of PCHar;
UInt32Array = packed array[ 0..0 ] of UInt32;
UInt16Array = packed array[ 0..0 ] of UInt16;
- UInt8Array = packed array[ 0..0 ] of UInt8;
+ UInt8Array = packed array[ 0..0 ] of UInt8;
- PCharArrayPointer = ^ PCharArray;
- UInt32ArrayPointer = ^ UInt32Array;
- UInt16ArrayPointer = ^ UInt16Array;
- UInt8ArrayPointer = ^ UInt8Array;
+ PCharArrayPointer = ^PCharArray;
+ UInt32ArrayPointer = ^UInt32Array;
+ UInt16ArrayPointer = ^UInt16Array;
+ UInt8ArrayPointer = ^UInt8Array;
TBooleanArray = array[ 0..0 ] of boolean;
BooleanArrayPointer = ^TBooleanArray;
+
EHelpFileException = class( Exception )
end;
+
EWindowsHelpFormatException = class( Exception )
end;
+
TProgressCallback = procedure(n, outof: integer; AMessage: string) of object;
+
var
ErrorCorruptHelpFile: string;