InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
BasilBuildNumber.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 __BasilBuildNumber_h__
25 #define __BasilBuildNumber_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 kBasilVersionNumber 6.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 kBasilVersionNumberStr "6.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 kBasilUIVersionStr "CS4"
49 
50 // ----- BASIL_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 BASIL_DOTRELEASE_NUMBER to non-zero
57 // (If you want 4.0.2 change it to 2.)
58 // 2. Update kBasilVersionNumberForResourceStr
59 // 3. Update kBasilVersionCopyRightStr for the Mac
60 // 4. Update kBasilCFBundleVersionStr for the Mac (4.0.1 would be "4010")
61 // 5. Update kBasilAUMComponentVersionStr
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 BASIL_DOT_RELEASE_NUMBER 5
69 
70 #if BASIL_DOT_RELEASE_NUMBER
71 #define kBasilVersionNumberForResourceStr "6.0.5"
72 #else
73 #define kBasilVersionNumberForResourceStr "6.0"
74 #endif
75 
76 // ----- Used for plug-in actual and expected version numbers
77 #define kBasilMajorVersionNumber RezLong(6)
78 #define kBasilMinorVersionNumber RezLong(0)
79 #define kBasilDotVersionNumber RezLong(BASIL_DOT_RELEASE_NUMBER)
80 
81 // ----- Numbers for 'vers', FILEVERSION and PRODUCTVERSION resources.
82 #define kBasilMajorVersionNumberForResource 6
83 #define kBasilMinorVersionNumberForResource 0
84 #define kBasilDotVersionNumberForResource BASIL_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 BASIL_DOT_RELEASE_NUMBER
93 #define kBasilVersionCopyRightStr "6.0.5, Copyright 2000-2009 Adobe Systems Incorporated. All rights reserved."
94 #define kBasilCFBundleVersionStr "6050"
95 #else
96 #define kBasilVersionCopyRightStr "6.0, Copyright 2000-2008 Adobe Systems Incorporated. All rights reserved."
97 #define kBasilCFBundleVersionStr "6000"
98 #endif
99 #endif
100 
101 #ifdef WINDOWS
102 #define kBasilVersionCopyRightStr "Copyright 2000-2009 Adobe Systems Incorporated. All rights reserved."
103 #define kBasilShortCopyRightStr "Copyright 2000-2009 Adobe Systems Incorporated."
104 #endif
105 
106 // ----- Version string for Adobe Update Manager managed components
107 #if BASIL_DOT_RELEASE_NUMBER
108 #define kBasilAUMComponentVersionStr "6.0.5."
109 #else
110 #define kBasilAUMComponentVersionStr "6.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 kBasilMajorScriptVersionNumber RezLong(6)
119 #define kBasilMinorScriptVersionNumber RezLong(0)
120 
121 // {4D8E7D87-0103-42f6-BE82-598C7E90A42C}
122 #define kInDesign6_0_CLSID { 0x4d8e7d87, 0x103, 0x42f6, { 0xbe, 0x82, 0x59, 0x8c, 0x7e, 0x90, 0xa4, 0x2c } }
123 // {274E835E-7501-4bb0-A2CE-A4BDB5231D29}
124 #define kInDesignSUTypeLib6_0_CLSID { 0x274e835e, 0x7501, 0x4bb0, { 0xa2, 0xce, 0xa4, 0xbd, 0xb5, 0x23, 0x1d, 0x29 } }
125 // {1243A2D3-A9B9-44a8-97B5-AEB4DF0A366B}
126 #define kInDesignMUTypeLib6_0_CLSID { 0x1243a2d3, 0xa9b9, 0x44a8, { 0x97, 0xb5, 0xae, 0xb4, 0xdf, 0xa, 0x36, 0x6b } }
127 
128 // {4B4C0051-0B3E-4f13-A740-DE1043818D4D}
129 #define kInCopy6_0_CLSID { 0x4b4c0051, 0xb3e, 0x4f13, { 0xa7, 0x40, 0xde, 0x10, 0x43, 0x81, 0x8d, 0x4d } }
130 // {69585992-251C-4d2d-86EE-679018A1F146}
131 #define kInCopySUTypeLib6_0_CLSID { 0x69585992, 0x251c, 0x4d2d, { 0x86, 0xee, 0x67, 0x90, 0x18, 0xa1, 0xf1, 0x46 } }
132 // {B4BA0CA2-8BE6-4f36-82CC-863B1A38BA1E}
133 #define kInCopyMUTypeLib6_0_CLSID { 0xb4ba0ca2, 0x8be6, 0x4f36, { 0x82, 0xcc, 0x86, 0x3b, 0x1a, 0x38, 0xba, 0x1e } }
134 
135 // {FFFB358A-2A39-42fe-B60B-192ABBB9BD67}
136 #define kInDesignServer6_0_CLSID { 0xfffb358a, 0x2a39, 0x42fe, { 0xb6, 0xb, 0x19, 0x2a, 0xbb, 0xb9, 0xbd, 0x67 } }
137 // {D9731276-D677-4e7b-8CC2-18CDD655B79E}
138 #define kInDesignServerSUTypeLib6_0_CLSID { 0xd9731276, 0xd677, 0x4e7b, { 0x8c, 0xc2, 0x18, 0xcd, 0xd6, 0x55, 0xb7, 0x9e } }
139 // {838F7B29-0994-42e4-AFA9-D911830A28E9}
140 #define kInDesignServerMUTypeLib6_0_CLSID { 0x838f7b29, 0x994, 0x42e4, { 0xaf, 0xa9, 0xd9, 0x11, 0x83, 0xa, 0x28, 0xe9 } }
141 
142 #endif