InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CC20_2BuildNumber.h
1 /************************************************************************
2  Copyright 2024 Adobe
3  All Rights Reserved.
4  NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it.
5 *************************************************************************
6 */
7 
8 #ifndef __CC20_2BuildNumber_h__
9 #define __CC20_2BuildNumber_h__
10 
11 // ----- This is for scripting and should be a 'reasonable' floating-point
12 // representation of the product version number.
13 //
14 // ----- This DOES NOT change when we have a dot release
15 //
16 #define kCC20_2VersionNumber 20.2
17 
18 // ----- This string is primarily used as the key in the Windows registry,
19 // as well as for application registration on startup.
20 //
21 // ----- This DOES NOT change when we have a dot release
22 //
23 #define kCC20_2VersionNumberStr "20.2"
24 
25 // ----- This represents the product version number in the form it will
26 // be presented to the user. You will see it used in the
27 // Windows application window frame, for example.
28 // It is also used by OLEAutomation as part of the application version key.
29 //
30 // ----- This DOES NOT change when we have a dot release
31 //
32 #ifdef BETA_BUILD
33 #define kCC20_2UIVersionStr "2025 (Beta)"
34 #elif PRERELEASE_BUILD
35 #define kCC20_2UIVersionStr "2025 (Prerelease)"
36 #else
37 #define kCC20_2UIVersionStr "2025"
38 #endif
39 
40 // ----- This represents year based handle of the product to
41 // be presented to the user in splash screen.
42 // ----- This DOES NOT change when we have a dot release
43 //
44 #define kCC20_2CCVersionYearBasedHandleStr "2025"
45 
46 // ----- This represents year based full version handle of the product to
47 // be presented to the user in about screen.
48 // ----- This DOES NOT change when we have a dot release
49 //
50 #define kCC20_2CCVersionYearBasedFullHandleStr "2025.2"
51 
52 
53 // ----- CC20_2_DOT_RELEASE_NUMBER represents the product dot
54 // release version.
55 // All necessary changes for a dot release update can be
56 // done in this file by following these directions.
57 //
58 // ----- To update a dot release:
59 // 1. Change CC20_2_DOT_RELEASE_NUMBER to non-zero
60 // (If you want 4.0.2 change it to 2.)
61 // 2. Update kCC20_2VersionNumberForResourceStr
62 // 3. Update kCC20_2VersionCopyRightStr for the Mac
63 // 4. Update kCC20_2CFBundleVersionStr for the Mac (4.0.1 would be "4010")
64 // 5. Update kCC20_2AUMComponentVersionStr
65 // 6. Update kCC20_2CRAdobeProductVersionStr similar to kCC20_2CFBundleVersionStr
66 //
67 // At a minimum, you must then rebuild AppFramework, ApplicationUI
68 // InDesign, InCopy, & InDesignServer. Rebuilding plugins will
69 // update their Windows resources and Mac plist settings so that,
70 // for example, the Finder or Explorer will correctly display version info.
71 //
72 #define CC20_2_DOT_RELEASE_NUMBER 0
73 
74 #if CC20_2_DOT_RELEASE_NUMBER
75 #define kCC20_2VersionNumberForResourceStr "20.2.1"
76 #else
77 #define kCC20_2VersionNumberForResourceStr "20.2"
78 #endif
79 
80 // ----- Used for plug-in actual and expected version numbers
81 #define kCC20_2MajorVersionNumber RezLong(20)
82 #define kCC20_2MinorVersionNumber RezLong(2)
83 #define kCC20_2DotVersionNumber RezLong(CC20_2_DOT_RELEASE_NUMBER)
84 
85 // ----- Numbers for 'vers', FILEVERSION and PRODUCTVERSION resources.
86 #define kCC20_2MajorVersionNumberForResource 20
87 #define kCC20_2MinorVersionNumberForResource 2
88 #define kCC20_2DotVersionNumberForResource CC20_2_DOT_RELEASE_NUMBER
89 
90 
91 // ----- Version copyright strings are different for different platforms
92 
93 // When updating version strings, the copyright years are cumulative.
94 // e.g. in the future the year string will look like 2000-2009, 2000-2010, etc.
95 #if defined(MACINTOSH) || defined(WASM)
96 #if CC20_2_DOT_RELEASE_NUMBER
97 #define kCC20_2VersionCopyRightStr "20.2.1, Copyright 1999-2025 Adobe Inc. All rights reserved."
98 #define kCC20_2CFBundleVersionStr "20210"
99 #else
100 #define kCC20_2VersionCopyRightStr "20.2, Copyright 1999-2025 Adobe Inc. All rights reserved."
101 #define kCC20_2CFBundleVersionStr "20200"
102 #endif
103 #endif
104 
105 #ifdef WINDOWS
106 #define kCC20_2VersionCopyRightStr "Copyright 1999-2025 Adobe. All rights reserved."
107 #define kCC20_2ShortCopyRightStr "\xa9 1999-2025 Adobe. All rights reserved."
108 #endif
109 
110 // ----- Version string for Adobe Update Manager managed components
111 #if CC20_2_DOT_RELEASE_NUMBER
112 #define kCC20_2AUMComponentVersionStr "20.2.1."
113 #else
114 #define kCC20_2AUMComponentVersionStr "20.2.0."
115 #endif
116 
117 // ----- Version string for Adobe Crash Reporter
118 #if CC20_2_DOT_RELEASE_NUMBER
119 #define kCC20_2CRAdobeProductVersionStr "20.2.1"
120 #else
121 #define kCC20_2CRAdobeProductVersionStr "20.2.0"
122 #endif
123 
124 #define kCC20_2CRAdobeInDesignDisplayNameStr "Adobe InDesign 2025"
125 #define kCC20_2CRAdobeInCopyDisplayNameStr "(Adobe InCopy 2025)"
126 
127 // ----- Scripting DOM Version
128 // To define a new version of the Scripting DOM:
129 // For a dot release, add a new major and minor script version number, and new typelib CLSIDs.
130 // For a minor version release, also add new application CLSIDs.
131 // Note: This assumes that kUIVersionStr also changes for a minor version release.
132 #define kCC20_2MajorScriptVersionNumber RezLong(20)
133 #define kCC20_2MinorScriptVersionNumber RezLong(2)
134 // keeping same CLSIDs as 20 can be picked up from CC20BuildNumber.h
135 
136 #endif