InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CC16_1BuildNumber.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: jangir
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 2020 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 __CC16_1BuildNumber_h__
25 #define __CC16_1BuildNumber_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 kCC16_1VersionNumber 16.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 kCC16_1VersionNumberStr "16.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 kCC16_1UIVersionStr "2021"
49 
50 // ----- This represents year based handle of the product to
51 // be presented to the user in splash screen.
52 // ----- This DOES NOT change when we have a dot release
53 //
54 #define kCC16_1CCVersionYearBasedHandleStr "2021"
55 
56 // ----- This represents year based full version handle of the product to
57 // be presented to the user in about screen.
58 // ----- This DOES NOT change when we have a dot release
59 //
60 #define kCC16_1CCVersionYearBasedFullHandleStr "2021.1"
61 
62 
63 // ----- CC15_DOT_RELEASE_NUMBER represents the product dot
64 // release version.
65 // All necessary changes for a dot release update can be
66 // done in this file by following these directions.
67 //
68 // ----- To update a dot release:
69 // 1. Change CC16_DOT_RELEASE_NUMBER to non-zero
70 // (If you want 4.0.2 change it to 2.)
71 // 2. Update kCC16_1VersionNumberForResourceStr
72 // 3. Update kCC16_1VersionCopyRightStr for the Mac
73 // 4. Update kCC16_1CFBundleVersionStr for the Mac (4.0.1 would be "4010")
74 // 5. Update kCC16_1AUMComponentVersionStr
75 //
76 // At a minimum, you must then rebuild AppFramework, ApplicationUI
77 // InDesign, InCopy, & InDesignServer. Rebuilding plugins will
78 // update their Windows resources and Mac plist settings so that,
79 // for example, the Finder or Explorer will correctly display version info.
80 //
81 
82 // ------ This flag will be used to check if this is dot release or not
83 #define CC16_1_DOT_RELEASE_NUMBER 0
84 
85 #if CC16_1_DOT_RELEASE_NUMBER
86 #define kCC16_1VersionNumberForResourceStr "16.1.1"
87 #else
88 #define kCC16_1VersionNumberForResourceStr "16.1"
89 #endif
90 
91 // ----- Used for plug-in actual and expected version numbers
92 #define kCC16_1MajorVersionNumber RezLong(16)
93 #define kCC16_1MinorVersionNumber RezLong(1)
94 #define kCC16_1DotVersionNumber RezLong(CC16_1_DOT_RELEASE_NUMBER)
95 
96 // ----- Numbers for 'vers', FILEVERSION and PRODUCTVERSION resources.
97 #define kCC16_1MajorVersionNumberForResource 16
98 #define kCC16_1MinorVersionNumberForResource 1
99 #define kCC16_1DotVersionNumberForResource CC16_1_DOT_RELEASE_NUMBER
100 
101 
102 // ----- Version copyright strings are different for different platforms
103 
104 // When updating version strings, the copyright years are cumulative.
105 // e.g. in the future the year string will look like 2000-2009, 2000-2010, etc.
106 #ifdef MACINTOSH
107 #if CC16_1_DOT_RELEASE_NUMBER
108 #define kCC16_1VersionCopyRightStr "16.1.1, Copyright 1999-2021 Adobe. All rights reserved."
109 #define kCC16_1CFBundleVersionStr "16110"
110 #else
111 #define kCC16_1VersionCopyRightStr "16.1, Copyright 1999-2021 Adobe. All rights reserved."
112 #define kCC16_1CFBundleVersionStr "16100"
113 #endif
114 #endif
115 
116 #ifdef WINDOWS
117 #define kCC16_1VersionCopyRightStr "Copyright 1999-2021 Adobe. All rights reserved."
118 #define kCC16_1ShortCopyRightStr "Copyright 1999-2021 Adobe."
119 #endif
120 
121 // ----- Version string for Adobe Update Manager managed components
122 #if CC16_1_DOT_RELEASE_NUMBER
123 #define kCC16_1AUMComponentVersionStr "16.1.1."
124 #else
125 #define kCC16_1AUMComponentVersionStr "16.1.0."
126 #endif
127 // ----- Version string for Adobe Crash Reporter
128 #if CC16_1_DOT_RELEASE_NUMBER
129 #define kCC16_1CRAdobeProductVersionStr "16110"
130 #else
131 #define kCC16_1CRAdobeProductVersionStr "16100"
132 #endif
133 
134 // ----- Display name for Adobe Crash Reporter
135 #define kCC16_1CRAdobeInDesignDisplayNameStr "Adobe InDesign 2021"
136 #define kCC16_1CRAdobeInCopyDisplayNameStr "Adobe InCopy 2021"
137 
138 // ----- Scripting DOM Version
139 // To define a new version of the Scripting DOM:
140 // For a dot release, add a new major and minor script version number, and new typelib CLSIDs.
141 // For a minor version release, also add new application CLSIDs.
142 // Note: This assumes that kUIVersionStr also changes for a minor version release.
143 #define kCC16_1MajorScriptVersionNumber RezLong(16)
144 #define kCC16_1MinorScriptVersionNumber RezLong(1)
145 /* keeping same as 16.0 can be picked up from CC16BuildNumber.h
146 //
147 #define kInDesign16_0_CLSID { 0x2c3995bf, 0x82f2, 0x483d, { 0x81, 0x4, 0xf2, 0x29, 0x0, 0xf9, 0x42, 0x8d } }
148 // {76F98E79-C12D-4C62-8B30-C10BCCDD6F96}
149 #define kInDesignSUTypeLib16_0_CLSID { 0x76f98e79, 0xc12d, 0x4c62, { 0x8b, 0x30, 0xc1, 0xb, 0xcc, 0xdd, 0x6f, 0x96 } }
150 // {CDD13F68-1CBC-47EB-BCC7-F35A8874299F}
151 #define kInDesignMUTypeLib16_0_CLSID { 0xcdd13f68, 0x1cbc, 0x47eb, { 0xbc, 0xc7, 0xf3, 0x5a, 0x88, 0x74, 0x29, 0x9f } }
152 
153 // {22B843ED-7478-45ED-AD1F-B95E1F3BD07C}
154 #define kInCopy16_0_CLSID { 0x22b843ed, 0x7478, 0x45ed, { 0xad, 0x1f, 0xb9, 0x5e, 0x1f, 0x3b, 0xd0, 0x7c } }
155 // {43502033-4D52-4B48-A936-17DCE1618A4E}
156 #define kInCopySUTypeLib16_0_CLSID { 0x43502033, 0x4d52, 0x4b48, { 0xa9, 0x36, 0x17, 0xdc, 0xe1, 0x61, 0x8a, 0x4e } }
157 // {086FE31C-68EE-4D96-B38B-2CE6A1A337A7}
158 #define kInCopyMUTypeLib16_0_CLSID { 0x86fe31c, 0x68ee, 0x4d96, { 0xb3, 0x8b, 0x2c, 0xe6, 0xa1, 0xa3, 0x37, 0xa7 } }
159 
160 // {CA6474A2-8CF8-4345-A8EC-0E3398BD7335}
161 #define kInDesignServer16_0_CLSID { 0xca6474a2, 0x8cf8, 0x4345, { 0xa8, 0xec, 0xe, 0x33, 0x98, 0xbd, 0x73, 0x35 } }
162 // {C9FDA445-332E-489B-9BED-96C563B451AF}
163 #define kInDesignServerSUTypeLib16_0_CLSID { 0xc9fda445, 0x332e, 0x489b, { 0x9b, 0xed, 0x96, 0xc5, 0x63, 0xb4, 0x51, 0xaf } }
164 // {7FF30520-A5D2-4D12-9B30-B6148B675116}
165 #define kInDesignServerMUTypeLib16_0_CLSID { 0x7ff30520, 0xa5d2, 0x4d12, { 0x9b, 0x30, 0xb6, 0x14, 0x8b, 0x67, 0x51, 0x16 } }
166 */
167 #endif