InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CitiusR1BuildNumber.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 __CitiusR1BuildNumber_h__
25 #define __CitiusR1BuildNumber_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 kCitiusR1VersionNumber 9.2
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 kCitiusR1VersionNumberStr "9.2"
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 kCitiusR1UIVersionStr "CC"
49 
50 // ----- CITIUSR1_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 CITIUSR1_DOT_RELEASE_NUMBER to non-zero
57 // (If you want 4.0.2 change it to 2.)
58 // 2. Update kCitiusR1VersionNumberForResourceStr
59 // 3. Update kCitiusR1VersionCopyRightStr for the Mac
60 // 4. Update kCitiusR1CFBundleVersionStr for the Mac (4.0.1 would be "4010")
61 // 5. Update kCitiusR1AUMComponentVersionStr
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 CITIUSR1_DOT_RELEASE_NUMBER 0
69 
70 #if CITIUSR1_DOT_RELEASE_NUMBER
71 #define kCitiusR1VersionNumberForResourceStr "9.2.1"
72 #else
73 #define kCitiusR1VersionNumberForResourceStr "9.2"
74 #endif
75 
76 // ----- Used for plug-in actual and expected version numbers
77 #define kCitiusR1MajorVersionNumber RezLong(9)
78 #define kCitiusR1MinorVersionNumber RezLong(2)
79 #define kCitiusR1DotVersionNumber RezLong(CITIUSR1_DOT_RELEASE_NUMBER)
80 
81 // ----- Numbers for 'vers', FILEVERSION and PRODUCTVERSION resources.
82 #define kCitiusR1MajorVersionNumberForResource 9
83 #define kCitiusR1MinorVersionNumberForResource 2
84 #define kCitiusR1DotVersionNumberForResource CITIUSR1_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 CITIUSR1_DOT_RELEASE_NUMBER
93 #define kCitiusR1VersionCopyRightStr "9.2.1, Copyright 1999-2013 Adobe Systems Incorporated. All rights reserved."
94 #define kCitiusR1CFBundleVersionStr "9210"
95 #else
96 #define kCitiusR1VersionCopyRightStr "9.2, Copyright 1999-2013 Adobe Systems Incorporated. All rights reserved."
97 #define kCitiusR1CFBundleVersionStr "9200"
98 #endif
99 #endif
100 
101 #ifdef WINDOWS
102 #define kCitiusR1VersionCopyRightStr "Copyright 1999-2013 Adobe Systems Incorporated. All rights reserved."
103 #define kCitiusR1ShortCopyRightStr "Copyright 1999-2013 Adobe Systems Incorporated."
104 #endif
105 
106 // ----- Version string for Adobe Update Manager managed components
107 #if CITIUSR1_DOT_RELEASE_NUMBER
108 #define kCitiusR1AUMComponentVersionStr "9.2.1."
109 #else
110 #define kCitiusR1AUMComponentVersionStr "9.2.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 kCitiusR1MajorScriptVersionNumber RezLong(9)
119 #define kCitiusR1MinorScriptVersionNumber RezLong(2)
120 
121 // {79036985-B46A-4874-AFE3-0794F82EBC02}
122 #define kInDesign9_2_CLSID { 0x79036985, 0xb46a, 0x4874, { 0xaf, 0xe3, 0x7, 0x94, 0xf8, 0x2e, 0xbc, 0x2 } }
123 // {78E1EAAF-8284-4700-A70D-2D7535CB33E0}
124 #define kInDesignSUTypeLib9_2_CLSID { 0x78e1eaaf, 0x8284, 0x4700, { 0xa7, 0xd, 0x2d, 0x75, 0x35, 0xcb, 0x33, 0xe0 } }
125 // {678DE2BD-524B-4094-AD05-2461B4066470}
126 #define kInDesignMUTypeLib9_2_CLSID { 0x678de2bd, 0x524b, 0x4094, { 0xad, 0x5, 0x24, 0x61, 0xb4, 0x6, 0x64, 0x70 } }
127 
128 // {8222E421-8EDD-49EE-ACC5-18C7372A844B}
129 #define kInCopy9_2_CLSID { 0x8222e421, 0x8edd, 0x49ee, { 0xac, 0xc5, 0x18, 0xc7, 0x37, 0x2a, 0x84, 0x4b } }
130 // {590FB685-EE09-4AD8-B1BB-824E65BBC185}
131 #define kInCopySUTypeLib9_2_CLSID { 0x590fb685, 0xee09, 0x4ad8, { 0xb1, 0xbb, 0x82, 0x4e, 0x65, 0xbb, 0xc1, 0x85 } }
132 // {D5163CE9-D7F2-4E3B-95F5-B3F7AD818A5A}
133 #define kInCopyMUTypeLib9_2_CLSID { 0xd5163ce9, 0xd7f2, 0x4e3b, { 0x95, 0xf5, 0xb3, 0xf7, 0xad, 0x81, 0x8a, 0x5a } }
134 
135 // {EECAB475-1481-4EFD-A75B-1DDB38B0BFD9}
136 #define kInDesignServer9_2_CLSID { 0xeecab475, 0x1481, 0x4efd, { 0xa7, 0x5b, 0x1d, 0xdb, 0x38, 0xb0, 0xbf, 0xd9 } }
137 // {D8A37369-4213-4B59-AD8F-6F19F90851E4}
138 #define kInDesignServerSUTypeLib9_2_CLSID { 0xd8a37369, 0x4213, 0x4b59, { 0xad, 0x8f, 0x6f, 0x19, 0xf9, 0x8, 0x51, 0xe4 } }
139 // {2AC167B8-BE3F-43CB-9A77-D5E33743C81D}
140 #define kInDesignServerMUTypeLib9_2_CLSID { 0x2ac167b8, 0xbe3f, 0x43cb, { 0x9a, 0x77, 0xd5, 0xe3, 0x37, 0x43, 0xc8, 0x1d } }
141 
142 #endif