InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
RocketBuildNumber.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 __RocketBuildNumber_h__
25 #define __RocketBuildNumber_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 kRocketVersionNumber 7.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 kRocketVersionNumberStr "7.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 kRocketUIVersionStr "CS5"
49 
50 // ----- ROCKET_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 ROCKET_DOT_RELEASE_NUMBER to non-zero
57 // (If you want 4.0.2 change it to 2.)
58 // 2. Update kRocketVersionNumberForResourceStr
59 // 3. Update kRocketVersionCopyRightStr for the Mac
60 // 4. Update kRocketCFBundleVersionStr for the Mac (4.0.1 would be "4010")
61 // 5. Update kRocketAUMComponentVersionStr
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 ROCKET_DOT_RELEASE_NUMBER 5
69 
70 #if ROCKET_DOT_RELEASE_NUMBER
71 #define kRocketVersionNumberForResourceStr "7.0.5"
72 #else
73 #define kRocketVersionNumberForResourceStr "7.0"
74 #endif
75 
76 // ----- Used for plug-in actual and expected version numbers
77 #define kRocketMajorVersionNumber RezLong(7)
78 #define kRocketMinorVersionNumber RezLong(0)
79 #define kRocketDotVersionNumber RezLong(ROCKET_DOT_RELEASE_NUMBER)
80 
81 // ----- Numbers for 'vers', FILEVERSION and PRODUCTVERSION resources.
82 #define kRocketMajorVersionNumberForResource 7
83 #define kRocketMinorVersionNumberForResource 0
84 #define kRocketDotVersionNumberForResource ROCKET_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-2009, 2000-2010, etc.
91 #ifdef MACINTOSH
92 #if ROCKET_DOT_RELEASE_NUMBER
93 #define kRocketVersionCopyRightStr "7.0.5, Copyright 2000-2010 Adobe Systems Incorporated. All rights reserved."
94 #define kRocketCFBundleVersionStr "7050"
95 #else
96 #define kRocketVersionCopyRightStr "7.0, Copyright 2000-2010 Adobe Systems Incorporated. All rights reserved."
97 #define kRocketCFBundleVersionStr "7000"
98 #endif
99 #endif
100 
101 #ifdef WINDOWS
102 #define kRocketVersionCopyRightStr "Copyright 2000-2010 Adobe Systems Incorporated. All rights reserved."
103 #define kRocketShortCopyRightStr "Copyright 2000-2010 Adobe Systems Incorporated."
104 #endif
105 
106 // ----- Version string for Adobe Update Manager managed components
107 #if ROCKET_DOT_RELEASE_NUMBER
108 #define kRocketAUMComponentVersionStr "7.0.5."
109 #else
110 #define kRocketAUMComponentVersionStr "7.0.0."
111 #endif
112 
113 // ----- Scripting DOM Version
114 // To define a new version of the Scripting DOM:
115 // For a dot release, add a new major and minor script version number, and new typelib CLSIDs.
116 // For a minor version release, also add new application CLSIDs.
117 // Note: This assumes that kUIVersionStr also changes for a minor version release.
118 #define kRocketMajorScriptVersionNumber RezLong(7)
119 #define kRocketMinorScriptVersionNumber RezLong(0)
120 
121 // {ED36EA7C-9E21-43dc-BF9D-7E1879734358}
122 #define kInDesign7_0_CLSID { 0xed36ea7c, 0x9e21, 0x43dc, { 0xbf, 0x9d, 0x7e, 0x18, 0x79, 0x73, 0x43, 0x58 } }
123 // {12A6705F-0474-44db-B7F7-438793ED391C}
124 #define kInDesignSUTypeLib7_0_CLSID { 0x12a6705f, 0x474, 0x44db, { 0xb7, 0xf7, 0x43, 0x87, 0x93, 0xed, 0x39, 0x1c } }
125 // {0EAE2841-EABD-4550-BC0B-2C5097031493}
126 #define kInDesignMUTypeLib7_0_CLSID { 0xeae2841, 0xeabd, 0x4550, { 0xbc, 0xb, 0x2c, 0x50, 0x97, 0x3, 0x14, 0x93 } }
127 
128 // {16B38B62-C41D-4c1a-B402-B199BBA39B13}
129 #define kInCopy7_0_CLSID { 0x16b38b62, 0xc41d, 0x4c1a, { 0xb4, 0x2, 0xb1, 0x99, 0xbb, 0xa3, 0x9b, 0x13 } }
130 // {62B27C3A-DDF8-40fe-AC27-76E3AB24129F}
131 #define kInCopySUTypeLib7_0_CLSID { 0x62b27c3a, 0xddf8, 0x40fe, { 0xac, 0x27, 0x76, 0xe3, 0xab, 0x24, 0x12, 0x9f } }
132 // {B04A8221-CDDD-4d99-AB18-C909F1D627F9}
133 #define kInCopyMUTypeLib7_0_CLSID { 0xb04a8221, 0xcddd, 0x4d99, { 0xab, 0x18, 0xc9, 0x9, 0xf1, 0xd6, 0x27, 0xf9 } }
134 
135 // {96D10A00-63E3-423e-A223-DFC4BEA21206}
136 #define kInDesignServer7_0_CLSID { 0x96d10a00, 0x63e3, 0x423e, { 0xa2, 0x23, 0xdf, 0xc4, 0xbe, 0xa2, 0x12, 0x6 } }
137 // {7481A505-F036-4847-9437-3AE93CAEE0C5}
138 #define kInDesignServerSUTypeLib7_0_CLSID { 0x7481a505, 0xf036, 0x4847, { 0x94, 0x37, 0x3a, 0xe9, 0x3c, 0xae, 0xe0, 0xc5 } }
139 // {65CB9701-223D-4674-BB7C-77879B14CADC}
140 #define kInDesignServerMUTypeLib7_0_CLSID { 0x65cb9701, 0x223d, 0x4674, { 0xbb, 0x7c, 0x77, 0x87, 0x9b, 0x14, 0xca, 0xdc } }
141 
142 #endif