InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CC18_5BuildNumber.h
1 /************************************************************************
2  Copyright 2022 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 __CC18_5BuildNumber_h__
9 #define __CC18_5BuildNumber_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 kCC18_5VersionNumber 18.5
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 kCC18_5VersionNumberStr "18.5"
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 kCC18_5UIVersionStr "2023 (Beta)"
34 #elif PRERELEASE_BUILD
35 #define kCC18_5UIVersionStr "2023 (Prerelease)"
36 #else
37 #define kCC18_5UIVersionStr "2023"
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 kCC18_5CCVersionYearBasedHandleStr "2023"
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 kCC18_5CCVersionYearBasedFullHandleStr "2023.5"
51 
52 
53 // ----- CC18_5_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 CC18_5_DOT_RELEASE_NUMBER to non-zero
60 // (If you want 4.0.2 change it to 2.)
61 // 2. Update kCC18_5VersionNumberForResourceStr
62 // 3. Update kCC18_5VersionCopyRightStr for the Mac
63 // 4. Update kCC18_5CFBundleVersionStr for the Mac (4.0.1 would be "4010")
64 // 5. Update kCC18_5AUMComponentVersionStr
65 // 6. Update kCC18_5CRAdobeProductVersionStr similar to kCC18_1CFBundleVersionStr
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 CC18_5_DOT_RELEASE_NUMBER 0
73 
74 #if CC18_5_DOT_RELEASE_NUMBER
75 #define kCC18_5VersionNumberForResourceStr "18.5.0"
76 #else
77 #define kCC18_5VersionNumberForResourceStr "18.5"
78 #endif
79 
80 // ----- Used for plug-in actual and expected version numbers
81 #define kCC18_5MajorVersionNumber RezLong(18)
82 #define kCC18_5MinorVersionNumber RezLong(5)
83 #define kCC18_5DotVersionNumber RezLong(CC18_5_DOT_RELEASE_NUMBER)
84 
85 // ----- Numbers for 'vers', FILEVERSION and PRODUCTVERSION resources.
86 #define kCC18_5MajorVersionNumberForResource 18
87 #define kCC18_5MinorVersionNumberForResource 5
88 #define kCC18_5DotVersionNumberForResource CC18_5_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 #ifdef MACINTOSH
96 #if CC18_5_DOT_RELEASE_NUMBER
97 #define kCC18_5VersionCopyRightStr "18.5.0, Copyright 1999-2023 Adobe Inc. All rights reserved."
98 #define kCC18_5CFBundleVersionStr "18500"
99 #else
100 #define kCC18_5VersionCopyRightStr "18.5, Copyright 1999-2023 Adobe Inc. All rights reserved."
101 #define kCC18_5CFBundleVersionStr "18500"
102 #endif
103 #endif
104 
105 #ifdef WINDOWS
106 #define kCC18_5VersionCopyRightStr "Copyright 1999-2023 Adobe. All rights reserved."
107 #define kCC18_5ShortCopyRightStr "© 1999-2023 Adobe. All rights reserved."
108 #endif
109 
110 // ----- Version string for Adobe Update Manager managed components
111 #if CC18_5_DOT_RELEASE_NUMBER
112 #define kCC18_5AUMComponentVersionStr "18.5.0."
113 #else
114 #define kCC18_5AUMComponentVersionStr "18.5.0."
115 #endif
116 // ----- Version string for Adobe Crash Reporter
117 #if CC18_5_DOT_RELEASE_NUMBER
118 #define kCC18_5CRAdobeProductVersionStr "18500"
119 #else
120 #define kCC18_5CRAdobeProductVersionStr "18500"
121 #endif
122 
123 // ----- Display name for Adobe Crash Reporter
124 #define kCC18_5CRAdobeInDesignDisplayNameStr "Adobe InDesign 2023"
125 #define kCC18_5CRAdobeInCopyDisplayNameStr "(Adobe InCopy 2023)"
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 kCC18_5MajorScriptVersionNumber RezLong(18)
133 #define kCC18_5MinorScriptVersionNumber RezLong(5)
134 // keeping same CLSIDs as 18 can be picked up from CC18BuildNumber.h
135 #endif