InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CC15BuildNumber.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 2018 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 __CC15BuildNumber_h__
25 #define __CC15BuildNumber_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 kCC15VersionNumber 15.0
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 kCC15VersionNumberStr "15.0"
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 kCC15UIVersionStr "2020"
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 kCC15CCVersionYearBasedHandleStr "2020"
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 kCC15CCVersionYearBasedFullHandleStr "2020.0"
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 CC15_DOT_RELEASE_NUMBER to non-zero
70 // (If you want 4.0.2 change it to 2.)
71 // 2. Update kCC15VersionNumberForResourceStr
72 // 3. Update kCC15VersionCopyRightStr for the Mac
73 // 4. Update kCC15CFBundleVersionStr for the Mac (4.0.1 would be "4010")
74 // 5. Update kCC15AUMComponentVersionStr
75 // 6. Update kCC15CRAdobeProductVersionStr similar to kCC15CFBundleVersionStr
76 //
77 // At a minimum, you must then rebuild AppFramework, ApplicationUI
78 // InDesign, InCopy, & InDesignServer. Rebuilding plugins will
79 // update their Windows resources and Mac plist settings so that,
80 // for example, the Finder or Explorer will correctly display version info.
81 //
82 #define CC15_DOT_RELEASE_NUMBER 3
83 
84 #if CC15_DOT_RELEASE_NUMBER
85 #define kCC15VersionNumberForResourceStr "15.0.3"
86 #else
87 #define kCC15VersionNumberForResourceStr "15.0"
88 #endif
89 
90 // ----- Used for plug-in actual and expected version numbers
91 #define kCC15MajorVersionNumber RezLong(15)
92 #define kCC15MinorVersionNumber RezLong(0)
93 #define kCC15DotVersionNumber RezLong(CC15_DOT_RELEASE_NUMBER)
94 
95 // ----- Numbers for 'vers', FILEVERSION and PRODUCTVERSION resources.
96 #define kCC15MajorVersionNumberForResource 15
97 #define kCC15MinorVersionNumberForResource 0
98 #define kCC15DotVersionNumberForResource CC15_DOT_RELEASE_NUMBER
99 
100 
101 // ----- Version copyright strings are different for different platforms
102 
103 // When updating version strings, the copyright years are cumulative.
104 // e.g. in the future the year string will look like 2000-2009, 2000-2010, etc.
105 #ifdef MACINTOSH
106 #if CC15_DOT_RELEASE_NUMBER
107 #define kCC15VersionCopyRightStr "15.0.3, Copyright 1999-2019 Adobe Inc. All rights reserved."
108 #define kCC15CFBundleVersionStr "15030"
109 #else
110 #define kCC15VersionCopyRightStr "15.0, Copyright 1999-2019 Adobe Inc. All rights reserved."
111 #define kCC15CFBundleVersionStr "15000"
112 #endif
113 #endif
114 
115 #ifdef WINDOWS
116 #define kCC15VersionCopyRightStr "Copyright 1999-2019 Adobe Inc. All rights reserved."
117 #define kCC15ShortCopyRightStr "Copyright 1999-2019 Adobe Inc."
118 #endif
119 
120 // ----- Version string for Adobe Update Manager managed components
121 #if CC15_DOT_RELEASE_NUMBER
122 #define kCC15AUMComponentVersionStr "15.0.3."
123 #else
124 #define kCC15AUMComponentVersionStr "15.0.0."
125 #endif
126 
127 // ----- Version string for Adobe Crash Reporter
128 #if CC15_DOT_RELEASE_NUMBER
129 #define kCC15CRAdobeProductVersionStr "15030"
130 #else
131 #define kCC15CRAdobeProductVersionStr "15000"
132 #endif
133 
134 // ----- Scripting DOM Version
135 // To define a new version of the Scripting DOM:
136 // For a dot release, add a new major and minor script version number, and new typelib CLSIDs.
137 // For a minor version release, also add new application CLSIDs.
138 // Note: This assumes that kUIVersionStr also changes for a minor version release.
139 #define kCC15MajorScriptVersionNumber RezLong(15)
140 #define kCC15MinorScriptVersionNumber RezLong(0)
141 
142 // {AB344D7C-BFFF-4B8C-A3D0-F878FF5DAD80}
143 #define kInDesign15_0_CLSID { 0xab344d7c, 0xbfff, 0x4b8c, { 0xa3, 0xd0, 0xf8, 0x78, 0xff, 0x5d, 0xad, 0x80 } }
144 // {80162F74-766E-4AD1-B8E1-8C8F6897ED17}
145 #define kInDesignSUTypeLib15_0_CLSID { 0x80162f74, 0x766e, 0x4ad1, { 0xb8, 0xe1, 0x8c, 0x8f, 0x68, 0x97, 0xed, 0x17 } }
146 // {38E74CB3-2251-472E-A9C3-922526043955}
147 #define kInDesignMUTypeLib15_0_CLSID { 0x38e74cb3, 0x2251, 0x472e, { 0xa9, 0xc3, 0x92, 0x25, 0x26, 0x4, 0x39, 0x55 } }
148 
149 // {9B2AA14D-2F31-4E18-AA8D-B35C083B6950}
150 #define kInCopy15_0_CLSID { 0x9b2aa14d, 0x2f31, 0x4e18, { 0xaa, 0x8d, 0xb3, 0x5c, 0x8, 0x3b, 0x69, 0x50 } }
151 // {B458D633-BD8A-42B4-B78C-B630C0F79EB9}
152 #define kInCopySUTypeLib15_0_CLSID { 0xb458d633, 0xbd8a, 0x42b4, { 0xb7, 0x8c, 0xb6, 0x30, 0xc0, 0xf7, 0x9e, 0xb9 } }
153 // {716EEF4F-735F-4F47-8CC7-99F3C0D67B40}
154 #define kInCopyMUTypeLib15_0_CLSID { 0x716eef4f, 0x735f, 0x4f47, { 0x8c, 0xc7, 0x99, 0xf3, 0xc0, 0xd6, 0x7b, 0x40 } }
155 
156 // {24F00A91-FA8D-442E-9A2F-146801EA5896}
157 #define kInDesignServer15_0_CLSID { 0x24f00a91, 0xfa8d, 0x442e, { 0x9a, 0x2f, 0x14, 0x68, 0x1, 0xea, 0x58, 0x96 } }
158 // {A70458C9-42E2-45DD-B803-78CA0ECF8D85}
159 #define kInDesignServerSUTypeLib15_0_CLSID { 0xa70458c9, 0x42e2, 0x45dd, { 0xb8, 0x3, 0x78, 0xca, 0xe, 0xcf, 0x8d, 0x85 } }
160 // {EBDA5DD3-9249-46A7-8AE4-81D7052C285F}
161 #define kInDesignServerMUTypeLib15_0_CLSID { 0xebda5dd3, 0x9249, 0x46a7, { 0x8a, 0xe4, 0x81, 0xd7, 0x5, 0x2c, 0x28, 0x5f } }
162 
163 #endif