InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ErrorTableTypes.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Jeff Argast (From Hotchkiss tips code)
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //
23 // Contains the ResourceErrSTR definition
24 //
25 //========================================================================================
26 
27 #ifndef __ErrorTableTypes__
28 #define __ErrorTableTypes__
29 
30 #include "CoreResTypes.h"
31 
32 // The following number is arbitrary, but is used by the ErrorUtils::GetErrorString
33 // function to find the correct platform error string table resource
34 #define kPlatformErrorStringTableRsrcID 699
35 
36 
37 #ifdef __ODFRC__
38 
39 // Definition for platform specific errors
40 type PlatformErrorTable (kPErrorTableType) {
41  integer = $$CountOf( errorArray );
42  wide array errorArray {
43  longint; /* minimum error id */
44  longint; /* maximum error id */
45  pstring; /* error message */
46  };
47 };
48 
49 // Definition for user defined errors
50 type UserErrorTable (kUErrorTableType) {
51  integer = $$CountOf( errorArray );
52  wide array errorArray {
53  longint; /* error id */
54  pstring; /* error message */
55  };
56 };
57 #endif
58 
59 #endif /* __CoreErrorTypes__ */