InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
OdinBuildNumber.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 __OdinBuildNumber_h__
25 #define __OdinBuildNumber_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 kOdinVersionNumber 7.5
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 kOdinVersionNumberStr "7.5"
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 kOdinUIVersionStr "CS5.5"
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 kOdinVersionNumberForResourceStr
59 // 3. Update kOdinVersionCopyRightStr for the Mac
60 // 4. Update kOdinCFBundleVersionStr for the Mac (4.0.1 would be "4010")
61 // 5. Update kOdinAUMComponentVersionStr
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 ODIN_DOT_RELEASE_NUMBER 0
69 
70 #if ODIN_DOT_RELEASE_NUMBER
71 #define kOdinVersionNumberForResourceStr "7.5.1"
72 #else
73 #define kOdinVersionNumberForResourceStr "7.5"
74 #endif
75 
76 // ----- Used for plug-in actual and expected version numbers
77 #define kOdinMajorVersionNumber RezLong(7)
78 #define kOdinMinorVersionNumber RezLong(5)
79 #define kOdinDotVersionNumber RezLong(ODIN_DOT_RELEASE_NUMBER)
80 
81 // ----- Numbers for 'vers', FILEVERSION and PRODUCTVERSION resources.
82 #define kOdinMajorVersionNumberForResource 7
83 #define kOdinMinorVersionNumberForResource 5
84 #define kOdinDotVersionNumberForResource ODIN_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 ODIN_DOT_RELEASE_NUMBER
93 #define kOdinVersionCopyRightStr "7.5.1, Copyright 2000-2011 Adobe Systems Incorporated. All rights reserved."
94 #define kOdinCFBundleVersionStr "7510"
95 #else
96 #define kOdinVersionCopyRightStr "7.5, Copyright 2000-2011 Adobe Systems Incorporated. All rights reserved."
97 #define kOdinCFBundleVersionStr "7500"
98 #endif
99 #endif
100 
101 #ifdef WINDOWS
102 #define kOdinVersionCopyRightStr "Copyright 2000-2011 Adobe Systems Incorporated. All rights reserved."
103 #define kOdinShortCopyRightStr "Copyright 2000-2011 Adobe Systems Incorporated."
104 #endif
105 
106 // ----- Version string for Adobe Update Manager managed components
107 #if ODIN_DOT_RELEASE_NUMBER
108 #define kOdinAUMComponentVersionStr "7.5.1."
109 #else
110 #define kOdinAUMComponentVersionStr "7.5.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 kOdinMajorScriptVersionNumber RezLong(7)
119 #define kOdinMinorScriptVersionNumber RezLong(5)
120 
121 // {ED36EA7C-9E21-43dc-BF9D-7E1879734358}
122 #define kInDesign7_5_CLSID { 0x11b39ea8, 0x97c0, 0x48b6, { 0x8b, 0xd2, 0x4a, 0xa6, 0x63, 0x2f, 0x8d, 0x9e } }
123 // {12A6705F-0474-44db-B7F7-438793ED391C}
124 #define kInDesignSUTypeLib7_5_CLSID { 0x3f5870bc, 0x3c44, 0x4bc9, { 0xa7, 0x79, 0x84, 0xb7, 0xc8, 0x1d, 0x89, 0xaf } }
125 // {0EAE2841-EABD-4550-BC0B-2C5097031493}
126 #define kInDesignMUTypeLib7_5_CLSID { 0x45422903, 0x2be2, 0x4718, { 0x9c, 0xa6, 0xa8, 0xea, 0x8e, 0x8e, 0x5f, 0x97 } }
127 
128 // {16B38B62-C41D-4c1a-B402-B199BBA39B13}
129 #define kInCopy7_5_CLSID { 0x25d2a0e2, 0x4373, 0x4cf3, { 0x8d, 0xf9, 0xeb, 0x2, 0xfc, 0x96, 0x74, 0x55 } }
130 // {62B27C3A-DDF8-40fe-AC27-76E3AB24129F}
131 #define kInCopySUTypeLib7_5_CLSID { 0x5200cd1e, 0x5dae, 0x4942, { 0xb3, 0xcd, 0xe0, 0xd1, 0x45, 0x62, 0x1f, 0xbb } }
132 // {B04A8221-CDDD-4d99-AB18-C909F1D627F9}
133 #define kInCopyMUTypeLib7_5_CLSID { 0xf11c0fa8, 0x723b, 0x41fd, { 0x8a, 0xd6, 0x4d, 0x69, 0xab, 0x84, 0xde, 0x14 } }
134 
135 // {96D10A00-63E3-423e-A223-DFC4BEA21206}
136 #define kInDesignServer7_5_CLSID { 0x34701ebc, 0x5975, 0x411c, { 0x8a, 0x45, 0xe7, 0x8e, 0x9, 0x34, 0xaa, 0xdd } }
137 // {7481A505-F036-4847-9437-3AE93CAEE0C5}
138 #define kInDesignServerSUTypeLib7_5_CLSID { 0x520a7a21, 0x59b9, 0x4825, { 0x93, 0x64, 0xdb, 0x29, 0xfa, 0x1c, 0x29, 0xca } }
139 // {65CB9701-223D-4674-BB7C-77879B14CADC}
140 #define kInDesignServerMUTypeLib7_5_CLSID { 0x88f1db87, 0xaced, 0x47ff, { 0x9e, 0x98, 0x1d, 0x9f, 0x36, 0x4a, 0x6b, 0x15 } }
141 
142 #endif