InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
AthosBuildNumber.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 __AthosBuildNumber_h__
25 #define __AthosBuildNumber_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 kAthosVersionNumber 8.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 kAthosVersionNumberStr "8.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 kAthosUIVersionStr "CS6"
49 
50 // ----- ATHOS_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 ATHOS_DOT_RELEASE_NUMBER to non-zero
57 // (If you want 4.0.2 change it to 2.)
58 // 2. Update kAthosVersionNumberForResourceStr
59 // 3. Update kAthosVersionCopyRightStr for the Mac
60 // 4. Update kAthosCFBundleVersionStr for the Mac (4.0.1 would be "4010")
61 // 5. Update kAthosAUMComponentVersionStr
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 ATHOS_DOT_RELEASE_NUMBER 0
69 
70 #if ATHOS_DOT_RELEASE_NUMBER
71 #define kAthosVersionNumberForResourceStr "8.0.1"
72 #else
73 #define kAthosVersionNumberForResourceStr "8.0"
74 #endif
75 
76 // ----- Used for plug-in actual and expected version numbers
77 #define kAthosMajorVersionNumber RezLong(8)
78 #define kAthosMinorVersionNumber RezLong(0)
79 #define kAthosDotVersionNumber RezLong(ATHOS_DOT_RELEASE_NUMBER)
80 
81 // ----- Numbers for 'vers', FILEVERSION and PRODUCTVERSION resources.
82 #define kAthosMajorVersionNumberForResource 8
83 #define kAthosMinorVersionNumberForResource 0
84 #define kAthosDotVersionNumberForResource ATHOS_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 ATHOS_DOT_RELEASE_NUMBER
93 #define kAthosVersionCopyRightStr "8.0.1, Copyright 2000-2012 Adobe Systems Incorporated. All rights reserved."
94 #define kAthosCFBundleVersionStr "8010"
95 #else
96 #define kAthosVersionCopyRightStr "8.0, Copyright 2000-2012 Adobe Systems Incorporated. All rights reserved."
97 #define kAthosCFBundleVersionStr "8000"
98 #endif
99 #endif
100 
101 #ifdef WINDOWS
102 #define kAthosVersionCopyRightStr "Copyright 2000-2012 Adobe Systems Incorporated. All rights reserved."
103 #define kAthosShortCopyRightStr "Copyright 2000-2012 Adobe Systems Incorporated."
104 #endif
105 
106 // ----- Version string for Adobe Update Manager managed components
107 #if ATHOS_DOT_RELEASE_NUMBER
108 #define kAthosAUMComponentVersionStr "8.0.1."
109 #else
110 #define kAthosAUMComponentVersionStr "8.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 kAthosMajorScriptVersionNumber RezLong(8)
119 #define kAthosMinorScriptVersionNumber RezLong(0)
120 
121 // {18207523-3CEA-4212-A829-14F7F5A3546B}
122 #define kInDesign8_0_CLSID { 0x18207523, 0x3cea, 0x4212, { 0xa8, 0x29, 0x14, 0xf7, 0xf5, 0xa3, 0x54, 0x6b } }
123 // {531EBB2B-227C-4732-A979-00052EFF35D5}
124 #define kInDesignSUTypeLib8_0_CLSID { 0x531ebb2b, 0x227c, 0x4732, { 0xa9, 0x79, 0x0, 0x5, 0x2e, 0xff, 0x35, 0xd5 } }
125 // {F4B43528-68EA-4c29-8A18-6FBD8E3C24C4}
126 #define kInDesignMUTypeLib8_0_CLSID { 0xf4b43528, 0x68ea, 0x4c29, { 0x8a, 0x18, 0x6f, 0xbd, 0x8e, 0x3c, 0x24, 0xc4 } }
127 
128 // {BEB7139C-B6BC-4aef-A0EB-46CC4D4E431D}
129 #define kInCopy8_0_CLSID { 0xbeb7139c, 0xb6bc, 0x4aef, { 0xa0, 0xeb, 0x46, 0xcc, 0x4d, 0x4e, 0x43, 0x1d } }
130 // {D85AC85E-3C9E-4032-9B53-5C596599D958}
131 #define kInCopySUTypeLib8_0_CLSID { 0xd85ac85e, 0x3c9e, 0x4032, { 0x9b, 0x53, 0x5c, 0x59, 0x65, 0x99, 0xd9, 0x58 } }
132 // {2731F8BD-C3AE-49ec-BC19-C1C208AC41DC}
133 #define kInCopyMUTypeLib8_0_CLSID { 0x2731f8bd, 0xc3ae, 0x49ec, { 0xbc, 0x19, 0xc1, 0xc2, 0x8, 0xac, 0x41, 0xdc } }
134 
135 // {E4D56F6F-26C2-48a2-ADC6-9650DB5EBAA6}
136 #define kInDesignServer8_0_CLSID { 0xe4d56f6f, 0x26c2, 0x48a2, { 0xad, 0xc6, 0x96, 0x50, 0xdb, 0x5e, 0xba, 0xa6 } }
137 // {A1C3F0A2-210D-473b-90EA-4F7E2F981994}
138 #define kInDesignServerSUTypeLib8_0_CLSID { 0xa1c3f0a2, 0x210d, 0x473b, { 0x90, 0xea, 0x4f, 0x7e, 0x2f, 0x98, 0x19, 0x94 } }
139 // {1AD16367-2368-4bb7-A8D9-388CAC9A844E}
140 #define kInDesignServerMUTypeLib8_0_CLSID { 0x1ad16367, 0x2368, 0x4bb7, { 0xa8, 0xd9, 0x38, 0x8c, 0xac, 0x9a, 0x84, 0x4e } }
141 
142 #endif