InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CitiusBuildNumber.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 __CitiusBuildNumber_h__
25 #define __CitiusBuildNumber_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 kCitiusVersionNumber 9.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 kCitiusVersionNumberStr "9.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 kCitiusUIVersionStr "CC"
49 
50 // ----- CITIUS_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 CITIUS_DOT_RELEASE_NUMBER to non-zero
57 // (If you want 4.0.2 change it to 2.)
58 // 2. Update kCitiusVersionNumberForResourceStr
59 // 3. Update kCitiusVersionCopyRightStr for the Mac
60 // 4. Update kCitiusCFBundleVersionStr for the Mac (4.0.1 would be "4010")
61 // 5. Update kCitiusAUMComponentVersionStr
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 CITIUS_DOT_RELEASE_NUMBER 0
69 
70 #if CITIUS_DOT_RELEASE_NUMBER
71 #define kCitiusVersionNumberForResourceStr "9.0.1"
72 #else
73 #define kCitiusVersionNumberForResourceStr "9.0"
74 #endif
75 
76 // ----- Used for plug-in actual and expected version numbers
77 #define kCitiusMajorVersionNumber RezLong(9)
78 #define kCitiusMinorVersionNumber RezLong(0)
79 #define kCitiusDotVersionNumber RezLong(CITIUS_DOT_RELEASE_NUMBER)
80 
81 // ----- Numbers for 'vers', FILEVERSION and PRODUCTVERSION resources.
82 #define kCitiusMajorVersionNumberForResource 9
83 #define kCitiusMinorVersionNumberForResource 0
84 #define kCitiusDotVersionNumberForResource CITIUS_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 CITIUS_DOT_RELEASE_NUMBER
93 #define kCitiusVersionCopyRightStr "9.0.1, Copyright 1999-2013 Adobe Systems Incorporated. All rights reserved."
94 #define kCitiusCFBundleVersionStr "9010"
95 #else
96 #define kCitiusVersionCopyRightStr "9.0, Copyright 1999-2013 Adobe Systems Incorporated. All rights reserved."
97 #define kCitiusCFBundleVersionStr "9000"
98 #endif
99 #endif
100 
101 #ifdef WINDOWS
102 #define kCitiusVersionCopyRightStr "Copyright 1999-2013 Adobe Systems Incorporated. All rights reserved."
103 #define kCitiusShortCopyRightStr "Copyright 1999-2013 Adobe Systems Incorporated."
104 #endif
105 
106 // ----- Version string for Adobe Update Manager managed components
107 #if CITIUS_DOT_RELEASE_NUMBER
108 #define kCitiusAUMComponentVersionStr "9.0.1."
109 #else
110 #define kCitiusAUMComponentVersionStr "9.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 kCitiusMajorScriptVersionNumber RezLong(9)
119 #define kCitiusMinorScriptVersionNumber RezLong(0)
120 
121 // {FB6F0F4B-0467-4F63-88EC-3960B8E1B3EE}
122 #define kInDesign9_0_CLSID { 0xfb6f0f4b, 0x467, 0x4f63, { 0x88, 0xec, 0x39, 0x60, 0xb8, 0xe1, 0xb3, 0xee } }
123 // {9E61B153-90BE-4DAA-B154-ECE420857936}
124 #define kInDesignSUTypeLib9_0_CLSID { 0x9e61b153, 0x90be, 0x4daa, { 0xb1, 0x54, 0xec, 0xe4, 0x20, 0x85, 0x79, 0x36 } }
125 // {1707CE5D-4839-4F8E-A97B-61E39E5FD702}
126 #define kInDesignMUTypeLib9_0_CLSID { 0x1707ce5d, 0x4839, 0x4f8e, { 0xa9, 0x7b, 0x61, 0xe3, 0x9e, 0x5f, 0xd7, 0x2 } }
127 
128 // {36D2C968-E574-46E9-9B29-E70739574BC8}
129 #define kInCopy9_0_CLSID { 0x36d2c968, 0xe574, 0x46e9, { 0x9b, 0x29, 0xe7, 0x7, 0x39, 0x57, 0x4b, 0xc8 } }
130 // {2756EFCE-114A-47A4-9CD9-0D3F921A335B}
131 #define kInCopySUTypeLib9_0_CLSID { 0x2756efce, 0x114a, 0x47a4, { 0x9c, 0xd9, 0xd, 0x3f, 0x92, 0x1a, 0x33, 0x5b } }
132 // {B4C9FE56-1E77-4C77-9D2F-93E57D06A21E}
133 #define kInCopyMUTypeLib9_0_CLSID { 0xb4c9fe56, 0x1e77, 0x4c77, { 0x9d, 0x2f, 0x93, 0xe5, 0x7d, 0x6, 0xa2, 0x1e } }
134 
135 // {BF1D00C0-4FAD-4ADF-884F-2130F68D982C}
136 #define kInDesignServer9_0_CLSID { 0xbf1d00c0, 0x4fad, 0x4adf, { 0x88, 0x4f, 0x21, 0x30, 0xf6, 0x8d, 0x98, 0x2c } }
137 // {1A571FCA-47D6-4D6B-8C26-BD313D2231D6}
138 #define kInDesignServerSUTypeLib9_0_CLSID { 0x1a571fca, 0x47d6, 0x4d6b, { 0x8c, 0x26, 0xbd, 0x31, 0x3d, 0x22, 0x31, 0xd6 } }
139 // {BB5B41DE-32D1-4047-90AD-31F29D39A52B}
140 #define kInDesignServerMUTypeLib9_0_CLSID { 0xbb5b41de, 0x32d1, 0x4047, { 0x90, 0xad, 0x31, 0xf2, 0x9d, 0x39, 0xa5, 0x2b } }
141 
142 #endif