InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
R11BuildNumber.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-2014 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 __R11BuildNumber_h__
25 #define __R11BuildNumber_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 kR11VersionNumber 12.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 kR11VersionNumberStr "12.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 kR11UIVersionStr "CC 2017"
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 kR11CCVersionYearBasedHandleStr "2017"
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 kR11CCVersionYearBasedFullHandleStr "2017.1"
61 
62 
63 // ----- R11_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 R11_DOT_RELEASE_NUMBER to non-zero
70 // (If you want 4.0.2 change it to 2.)
71 // 2. Update kR11VersionNumberForResourceStr
72 // 3. Update kR11VersionCopyRightStr for the Mac
73 // 4. Update kR11CFBundleVersionStr for the Mac (4.0.1 would be "4010")
74 // 5. Update kR11AUMComponentVersionStr
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 #define R11_DOT_RELEASE_NUMBER 0
82 
83 #if R11_DOT_RELEASE_NUMBER
84 #define kR11VersionNumberForResourceStr "12.1.1"
85 #else
86 #define kR11VersionNumberForResourceStr "12.1"
87 #endif
88 
89 // ----- Used for plug-in actual and expected version numbers
90 #define kR11MajorVersionNumber RezLong(12)
91 #define kR11MinorVersionNumber RezLong(1)
92 #define kR11DotVersionNumber RezLong(R11_DOT_RELEASE_NUMBER)
93 
94 // ----- Numbers for 'vers', FILEVERSION and PRODUCTVERSION resources.
95 #define kR11MajorVersionNumberForResource 12
96 #define kR11MinorVersionNumberForResource 1
97 #define kR11DotVersionNumberForResource R11_DOT_RELEASE_NUMBER
98 
99 
100 // ----- Version copyright strings are different for different platforms
101 
102 // When updating version strings, the copyright years are cumulative.
103 // e.g. in the future the year string will look like 2000-2009, 2000-2010, etc.
104 #ifdef MACINTOSH
105 #if R11_DOT_RELEASE_NUMBER
106 #define kR11VersionCopyRightStr "12.1.1, Copyright 1999-2016 Adobe. All rights reserved."
107 #define kR11CFBundleVersionStr "12110"
108 #define kR11CRAdobeProductVersionStr "12110"
109 #else
110 #define kR11VersionCopyRightStr "12.1, Copyright 1999-2016 Adobe. All rights reserved."
111 #define kR11CFBundleVersionStr "12100"
112 #define kR11CRAdobeProductVersionStr "12100"
113 #endif
114 #endif
115 
116 #ifdef WINDOWS
117 #define kR11VersionCopyRightStr "Copyright 1999-2016 Adobe. All rights reserved."
118 #define kR11ShortCopyRightStr "Copyright 1999-2016 Adobe."
119 #endif
120 
121 // ----- Version string for Adobe Update Manager managed components
122 #if R11_DOT_RELEASE_NUMBER
123 #define kR11AUMComponentVersionStr "12.1.1."
124 #else
125 #define kR11AUMComponentVersionStr "12.1.0."
126 #endif
127 
128 // ----- Scripting DOM Version
129 // To define a new version of the Scripting DOM:
130 // For a dot release, add a new major and minor script version number, and new typelib CLSIDs.
131 // For a minor version release, also add new application CLSIDs.
132 // Note: This assumes that kUIVersionStr also changes for a minor version release.
133 #define kR11MajorScriptVersionNumber RezLong(12)
134 #define kR11MinorScriptVersionNumber RezLong(1)
135 
136 /* CLSID same as CC 12
137 // {D2F81071-18E2-4D19-8FDD-298CEABDB619}
138 #define kInDesign12_0_CLSID { 0xd2f81071, 0x18e2, 0x4d19, { 0x8f, 0xdd, 0x29, 0x8c, 0xea, 0xbd, 0xb6, 0x19 } }
139 // {6A706B9C-F2C7-4440-BA12-17ED72877645}
140 #define kInDesignSUTypeLib12_0_CLSID { 0x6a706b9c, 0xf2c7, 0x4440, { 0xba, 0x12, 0x17, 0xed, 0x72, 0x87, 0x76, 0x45 } }
141 // {31E4DE36-5972-4C7D-A781-08FDA261F9AD}
142 #define kInDesignMUTypeLib12_0_CLSID { 0x31e4de36, 0x5972, 0x4c7d, { 0xa7, 0x81, 0x8, 0xfd, 0xa2, 0x61, 0xf9, 0xad } }
143 
144 // {C9A04F37-5761-401E-B1E6-9E6C206F4016}
145 #define kInCopy12_0_CLSID { 0xc9a04f37, 0x5761, 0x401e, { 0xb1, 0xe6, 0x9e, 0x6c, 0x20, 0x6f, 0x40, 0x16 } }
146 // {9DFA56AE-A5D2-4B92-A146-E02A05E981E8}
147 #define kInCopySUTypeLib12_0_CLSID { 0x9dfa56ae, 0xa5d2, 0x4b92, { 0xa1, 0x46, 0xe0, 0x2a, 0x5, 0xe9, 0x81, 0xe8 } }
148 // {23644B6C-08F9-46B8-97A3-E6746EC60796}
149 #define kInCopyMUTypeLib12_0_CLSID { 0x23644b6c, 0x8f9, 0x46b8, { 0x97, 0xa3, 0xe6, 0x74, 0x6e, 0xc6, 0x7, 0x96 } }
150 
151 // {C62D9F67-2815-4C5D-9754-5CEAA121CDD8}
152 #define kInDesignServer12_0_CLSID { 0xc62d9f67, 0x2815, 0x4c5d, { 0x97, 0x54, 0x5c, 0xea, 0xa1, 0x21, 0xcd, 0xd8 } }
153 // {0BCB261B-D387-4BDA-BE85-A3FECD6884F1}
154 #define kInDesignServerSUTypeLib12_0_CLSID { 0xbcb261b, 0xd387, 0x4bda, { 0xbe, 0x85, 0xa3, 0xfe, 0xcd, 0x68, 0x84, 0xf1 } }
155 // {92BE3467-0FEE-4FAD-8E98-D6DF8730A096}
156 #define kInDesignServerMUTypeLib12_0_CLSID { 0x92be3467, 0xfee, 0x4fad, { 0x8e, 0x98, 0xd6, 0xdf, 0x87, 0x30, 0xa0, 0x96 } }
157 */
158 
159 #endif