InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ScriptInfoTypes.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Jonathan W. Brown
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 
24 #ifndef __SCRIPTINFOTYPES_H__
25 #define __SCRIPTINFOTYPES_H__
26 
27 #include "AnsiBasedTypes.h"
28 
29 
30 #if !defined(__ODFRC__)
31 namespace ScriptInfo
32 {
33 #endif
34 
35 //for resource directives
36 const int16 kReadOnly = kFalse ;
37 const int16 kReadWrite = kTrue ;
38 const int16 kReadOnlyButReadWriteForINX = 0x10 ;
39 
40 //for internal identification of resource elements
41 const int16 kSIBase = 0x0001 ;
42 const int16 kSISuite = kSIBase + 0 ;
43 const int16 kSIObject = kSIBase + 1 ;
44 const int16 kSIMethod = kSIBase + 2 ;
45 const int16 kSIProperty = kSIBase + 3 ;
46 const int16 kSIEnum = kSIBase + 4 ;
47 const int16 kSIParent = kSIBase + 5 ;
48 const int16 kSIProvider = kSIBase + 6 ;
49 const int16 kSIMetadata = kSIBase + 7 ;
50 const int16 kSIEnumerator = kSIBase + 8 ;
51 const int16 kSITranslation = kSIBase + 9 ;
52 const int16 kSITypeDef = kSIBase + 10 ;
53 const int16 kSIEvent = kSIBase + 11 ;
54 
55 //Use these instead of kDragontailM??orVersionNumber
56 // for elements defined in Dragontail
57 const int32 kInitialScriptInfoMajorVersionNumber = 0x0 ;
58 const int32 kInitialScriptInfoMinorVersionNumber = 0x0 ;
59 
60 #if !defined(__ODFRC__)
61 } // End namespace ScriptInfo
62 #endif
63 
64 #endif // __SCRIPTINFOTYPES_H__