InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CobaltBuildNumber.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-2010 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 __CobaltBuildNumber_h__
25 #define __CobaltBuildNumber_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 kCobaltVersionNumber 5.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 kCobaltVersionNumberStr "5.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 kCobaltUIVersionStr "CS3"
49 
50 // ----- Cobalt_DOT_RELEASE_NUMBER represents the product dot
51 // release version.
52 // All necessary changes for a dot release update can be
53 // done in this file by following these directions.
54 //
55 // ----- To update a dot release:
56 // 1. Change Cobalt_DOTRELEASE_NUMBER to non-zero
57 // (If you want 4.0.2 change it to 2.)
58 // 2. Update kCobaltVersionNumberForResourceStr
59 // 3. Update kCobaltVersionCopyRightStr for the Mac
60 // 4. Update kCobaltCFBundleVersionStr for the Mac (4.0.1 would be "4010")
61 // 5. Update kCobaltAUMComponentVersionStr
62 //
63 // At a minimum, you must then rebuild AppFramework, ApplicationUI
64 // InDesign, InCopy, & InDesignServer. Rebuilding plugins will
65 // update their Windows resources and Mac plist settings so that,
66 // for example, the Finder or Explorer will correctly display version info.
67 //
68 #define Cobalt_DOT_RELEASE_NUMBER 5
69 
70 #if Cobalt_DOT_RELEASE_NUMBER
71 #define kCobaltVersionNumberForResourceStr "5.0.5"
72 #else
73 #define kCobaltVersionNumberForResourceStr "5.0"
74 #endif
75 
76 // ----- Used for plug-in actual and expected version numbers
77 #define kCobaltMajorVersionNumber RezLong(5)
78 #define kCobaltMinorVersionNumber RezLong(0)
79 #define kCobaltDotVersionNumber RezLong(Cobalt_DOT_RELEASE_NUMBER)
80 
81 // ----- Numbers for 'vers', FILEVERSION and PRODUCTVERSION resources.
82 #define kCobaltMajorVersionNumberForResource 5
83 #define kCobaltMinorVersionNumberForResource 0
84 #define kCobaltDotVersionNumberForResource Cobalt_DOT_RELEASE_NUMBER
85 
86 
87 // ----- Version copyright strings are different for different platforms
88 
89 // When updating version strings, the copyright years are cumulative.
90 // e.g. in the future the year string will look like 2000-2006, 2000-2007, etc.
91 #ifdef MACINTOSH
92 #if Cobalt_DOT_RELEASE_NUMBER
93 #define kCobaltVersionCopyRightStr "5.0.5, Copyright 2000-2008 Adobe Systems Incorporated. All rights reserved."
94 #define kCobaltCFBundleVersionStr "5050"
95 #else
96 #define kCobaltVersionCopyRightStr "5.0, Copyright 2000-2007 Adobe Systems Incorporated. All rights reserved."
97 #define kCobaltCFBundleVersionStr "5000"
98 #endif
99 #endif
100 
101 #ifdef WINDOWS
102 #define kCobaltVersionCopyRightStr "Copyright 2000-2008 Adobe Systems Incorporated. All rights reserved."
103 #define kCobaltShortCopyRightStr "Copyright 2000-2008 Adobe Systems Incorporated."
104 #endif
105 
106 
107 // ----- WinSoft Version copyright strings are different for different platforms
108 #if 1 //qME
109 
110 #ifdef MACINTOSH
111 #if Cobalt_DOT_RELEASE_NUMBER
112 #define kWinsoftVersionCopyRightStr "5.0.1, Copyright 2000-2007 WinSoft SA. All rights reserved."
113 #define kWinsoftCFBundleVersionStr "5010"
114 #else
115 #define kWinsoftVersionCopyRightStr "5.0, Copyright 2000-2007 WinSoft SA. All rights reserved."
116 #define kWinsoftCFBundleVersionStr "5000"
117 #endif
118 #endif
119 
120 #ifdef WINDOWS
121 #define kWinsoftVersionCopyRightStr "Copyright 2000-2007 WinSoft SA. All rights reserved."
122 #define kWinsoftShortCopyRightStr "Copyright 2000-2007 WinSoft SA."
123 #endif
124 
125 #endif
126 
127 // ----- Version string for Adobe Update Manager managed components
128 #if Cobalt_DOT_RELEASE_NUMBER
129 #define kCobaltAUMComponentVersionStr "5.0.5."
130 #else
131 #define kCobaltAUMComponentVersionStr "5.0.0."
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 kCobaltMajorScriptVersionNumber RezLong(5)
140 #define kCobaltMinorScriptVersionNumber RezLong(0)
141 
142 // {1041D8C8-B5E8-49c1-A0DD-9E593B1EB5D5}
143 #define kInDesign5_0_CLSID { 0x1041d8c8, 0xb5e8, 0x49c1, { 0xa0, 0xdd, 0x9e, 0x59, 0x3b, 0x1e, 0xb5, 0xd5 } }
144 // {666F676B-7790-4b6f-B691-EC43C6F94C18}
145 #define kInDesignSUTypeLib5_0_CLSID { 0x666f676b, 0x7790, 0x4b6f, { 0xb6, 0x91, 0xec, 0x43, 0xc6, 0xf9, 0x4c, 0x18 } }
146 // {B694A47E-004D-48e0-AE77-B37A9CC18760}
147 #define kInDesignMUTypeLib5_0_CLSID { 0xb694a47e, 0x4d, 0x48e0, { 0xae, 0x77, 0xb3, 0x7a, 0x9c, 0xc1, 0x87, 0x60 } }
148 
149 // {333C0F34-917D-4a47-A6C5-20E5A0C30A73}
150 #define kInCopy5_0_CLSID { 0x333c0f34, 0x917d, 0x4a47, { 0xa6, 0xc5, 0x20, 0xe5, 0xa0, 0xc3, 0xa, 0x73 } }
151 // {CE457EAB-54C7-4f71-A933-ECF164ACBF8B}
152 #define kInCopySUTypeLib5_0_CLSID { 0xce457eab, 0x54c7, 0x4f71, { 0xa9, 0x33, 0xec, 0xf1, 0x64, 0xac, 0xbf, 0x8b } }
153 // {B3D25BCD-BD62-45e7-AF53-787B8506F8C5}
154 #define kInCopyMUTypeLib5_0_CLSID { 0xb3d25bcd, 0xbd62, 0x45e7, { 0xaf, 0x53, 0x78, 0x7b, 0x85, 0x6, 0xf8, 0xc5 } }
155 
156 // {2534EC3C-0DB7-4dec-BDAF-551EBD00DC77}
157 #define kInDesignServer5_0_CLSID { 0x2534ec3c, 0xdb7, 0x4dec, { 0xbd, 0xaf, 0x55, 0x1e, 0xbd, 0x0, 0xdc, 0x77 } }
158 // {7EEF86AA-2100-4e6f-B12B-F4B717CAC88E}
159 #define kInDesignServerSUTypeLib5_0_CLSID { 0x7eef86aa, 0x2100, 0x4e6f, { 0xb1, 0x2b, 0xf4, 0xb7, 0x17, 0xca, 0xc8, 0x8e } }
160 // {B4217DFC-5199-4344-9002-7E6E2507C3D6}
161 #define kInDesignServerMUTypeLib5_0_CLSID { 0xb4217dfc, 0x5199, 0x4344, { 0x90, 0x2, 0x7e, 0x6e, 0x25, 0x7, 0xc3, 0xd6 } }
162 
163 #endif