InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CitiusR0BuildNumber.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Michael Burbidge
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 __CitiusR0BuildNumber_h__
25 #define __CitiusR0BuildNumber_h__
26 
27 // ----- This is for scripting and should be a 'reasonable' floating-point
28 // representation of the product version number.
29 //
30 // ----- This DOES NOT change when we have a dot release
31 //
32 #define kCitiusR0VersionNumber 9.1
33 
34 // ----- This string is primarily used as the key in the Windows registry,
35 // as well as for application registration on startup.
36 //
37 // ----- This DOES NOT change when we have a dot release
38 //
39 #define kCitiusR0VersionNumberStr "9.1"
40 
41 // ----- This represents the product version number in the form it will
42 // be presented to the user. You will see it used in the
43 // Windows application window frame, for example.
44 // It is also used by OLEAutomation as part of the application version key.
45 //
46 // ----- This DOES NOT change when we have a dot release
47 //
48 #define kCitiusR0UIVersionStr "CC"
49 
50 // ----- CITIUSR0_DOT_RELEASE_NUMBER represents the product dot
51 // release version.
52 // All necessary changes for a dot release update can be
53 // done in this file by following these directions.
54 //
55 // ----- To update a dot release:
56 // 1. Change CITIUSR0_DOT_RELEASE_NUMBER to non-zero
57 // (If you want 4.0.2 change it to 2.)
58 // 2. Update kCitiusR0VersionNumberForResourceStr
59 // 3. Update kCitiusR0VersionCopyRightStr for the Mac
60 // 4. Update kCitiusR0CFBundleVersionStr for the Mac (4.0.1 would be "4010")
61 // 5. Update kCitiusR0AUMComponentVersionStr
62 //
63 // At a minimum, you must then rebuild AppFramework, ApplicationUI
64 // InDesign, InCopy, & InDesignServer. Rebuilding plugins will
65 // update their Windows resources and Mac plist settings so that,
66 // for example, the Finder or Explorer will correctly display version info.
67 //
68 #define CITIUSR0_DOT_RELEASE_NUMBER 0
69 
70 #if CITIUSR0_DOT_RELEASE_NUMBER
71 #define kCitiusR0VersionNumberForResourceStr "9.1.1"
72 #else
73 #define kCitiusR0VersionNumberForResourceStr "9.1"
74 #endif
75 
76 // ----- Used for plug-in actual and expected version numbers
77 #define kCitiusR0MajorVersionNumber RezLong(9)
78 #define kCitiusR0MinorVersionNumber RezLong(1)
79 #define kCitiusR0DotVersionNumber RezLong(CITIUSR0_DOT_RELEASE_NUMBER)
80 
81 // ----- Numbers for 'vers', FILEVERSION and PRODUCTVERSION resources.
82 #define kCitiusR0MajorVersionNumberForResource 9
83 #define kCitiusR0MinorVersionNumberForResource 1
84 #define kCitiusR0DotVersionNumberForResource CITIUSR0_DOT_RELEASE_NUMBER
85 
86 
87 // ----- Version copyright strings are different for different platforms
88 
89 // When updating version strings, the copyright years are cumulative.
90 // e.g. in the future the year string will look like 2000-2009, 2000-2010, etc.
91 #ifdef MACINTOSH
92 #if CITIUSR0_DOT_RELEASE_NUMBER
93 #define kCitiusR0VersionCopyRightStr "9.1.1, Copyright 1999-2013 Adobe Systems Incorporated. All rights reserved."
94 #define kCitiusR0CFBundleVersionStr "9110"
95 #else
96 #define kCitiusR0VersionCopyRightStr "9.1, Copyright 1999-2013 Adobe Systems Incorporated. All rights reserved."
97 #define kCitiusR0CFBundleVersionStr "9100"
98 #endif
99 #endif
100 
101 #ifdef WINDOWS
102 #define kCitiusR0VersionCopyRightStr "Copyright 1999-2013 Adobe Systems Incorporated. All rights reserved."
103 #define kCitiusR0ShortCopyRightStr "Copyright 1999-2013 Adobe Systems Incorporated."
104 #endif
105 
106 // ----- Version string for Adobe Update Manager managed components
107 #if CITIUSR0_DOT_RELEASE_NUMBER
108 #define kCitiusR0AUMComponentVersionStr "9.1.1."
109 #else
110 #define kCitiusR0AUMComponentVersionStr "9.1.0."
111 #endif
112 
113 // ----- Scripting DOM Version
114 // To define a new version of the Scripting DOM:
115 // For a dot release, add a new major and minor script version number, and new typelib CLSIDs.
116 // For a minor version release, also add new application CLSIDs.
117 // Note: This assumes that kUIVersionStr also changes for a minor version release.
118 #define kCitiusR0MajorScriptVersionNumber RezLong(9)
119 #define kCitiusR0MinorScriptVersionNumber RezLong(1)
120 
121 // {13F01800-82D9-4139-A725-C7A1B61F44D1}
122 #define kInDesign9_1_CLSID { 0x13f01800, 0x82d9, 0x4139, { 0xa7, 0x25, 0xc7, 0xa1, 0xb6, 0x1f, 0x44, 0xd1 } }
123 // {4957613D-FB55-40F2-8BF6-AD0D0F3F223D}
124 #define kInDesignSUTypeLib9_1_CLSID { 0x4957613d, 0xfb55, 0x40f2, { 0x8b, 0xf6, 0xad, 0xd, 0xf, 0x3f, 0x22, 0x3d } }
125 // {37755B4C-94A8-4553-8E0B-3B5562E29E40}
126 #define kInDesignMUTypeLib9_1_CLSID { 0x37755b4c, 0x94a8, 0x4553, { 0x8e, 0xb, 0x3b, 0x55, 0x62, 0xe2, 0x9e, 0x40 } }
127 
128 // // {C5D071DA-8824-4363-A192-FC05F41B078C}
129 #define kInCopy9_1_CLSID { 0xc5d071da, 0x8824, 0x4363, { 0xa1, 0x92, 0xfc, 0x5, 0xf4, 0x1b, 0x7, 0x8c } }
130 // {763308AC-9F85-4BA9-AEFA-E5D31A8AE45C}
131 #define kInCopySUTypeLib9_1_CLSID { 0x763308ac, 0x9f85, 0x4ba9, { 0xae, 0xfa, 0xe5, 0xd3, 0x1a, 0x8a, 0xe4, 0x5c } }
132 // {5DE5C105-6AFE-4BEA-B1F2-C9DD96E5D161}
133 #define kInCopyMUTypeLib9_1_CLSID { 0x5de5c105, 0x6afe, 0x4bea, { 0xb1, 0xf2, 0xc9, 0xdd, 0x96, 0xe5, 0xd1, 0x61 } }
134 
135 // {EC6B8413-E3E4-4D5C-A7EC-E661729FD262}
136 #define kInDesignServer9_1_CLSID { 0xec6b8413, 0xe3e4, 0x4d5c, { 0xa7, 0xec, 0xe6, 0x61, 0x72, 0x9f, 0xd2, 0x62 } }
137 // {5395E9DE-33EA-4413-93B8-A51AFB5E5D97}
138 #define kInDesignServerSUTypeLib9_1_CLSID { 0x5395e9de, 0x33ea, 0x4413, { 0x93, 0xb8, 0xa5, 0x1a, 0xfb, 0x5e, 0x5d, 0x97 } }
139 // {F60BEBF7-8156-4430-A6B0-DD676AAEF5B6}
140 #define kInDesignServerMUTypeLib9_1_CLSID { 0xf60bebf7, 0x8156, 0x4430, { 0xa6, 0xb0, 0xdd, 0x67, 0x6a, 0xae, 0xf5, 0xb6 } }
141 
142 #endif