wversion.h

Go to the documentation of this file.
00001 //
00002 //  Copyright (c) 1996-2006 by Autodesk, Inc.
00003 //
00004 //  By using this code, you are agreeing to the terms and conditions of
00005 //  the License Agreement included in the documentation for this code.
00006 //
00007 //  AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE CORRECTNESS
00008 //  OF THIS CODE OR ANY DERIVATIVE WORKS WHICH INCORPORATE IT. AUTODESK
00009 //  PROVIDES THE CODE ON AN "AS-IS" BASIS AND EXPLICITLY DISCLAIMS ANY
00010 //  LIABILITY, INCLUDING CONSEQUENTIAL AND INCIDENTAL DAMAGES FOR ERRORS,
00011 //  OMISSIONS, AND OTHER PROBLEMS IN THE CODE.
00012 //
00013 //  Use, duplication, or disclosure by the U.S. Government is subject to
00014 //  restrictions set forth in FAR 52.227-19 (Commercial Computer Software
00015 //  Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) (Rights in Technical
00016 //  Data and Computer Software), as applicable.
00017 //
00018 
00019 #if !defined WVERSION_HEADER
00020 #define WVERSION_HEADER
00021 
00025 
00026 #include "dwf/Version.h"
00027 
00028 
00029 // Define DWF toolkit version information
00030 //
00031 // These are used in file.h in toolkit_major_revision() and toolkit_minor_revision()
00032 // in the WT_File object.  Also in file.h they are munged together and used as a
00033 // single integer in toolkit_decimal_revision(), to be later disected and placed
00034 // into the DWF file header.
00035 #define WD_Toolkit_Major_Revision           6
00036 #define WD_Toolkit_Minor_Revision           1
00037 
00038 //
00039 // Define DLL version
00040 //
00041 // 01/21/05 - The module versioning has gotten a bit out of date
00042 // and is now going to be changed.  Previously, the major version
00043 // reflected the Heidi major version and the minor version
00044 // reflected the stream major version. The previous values were:
00045 //
00046 //#define WHIPDLL_MAJOR_VERSION     7
00047 //#define WHIPDLL_MINOR_VERSION     WD_Toolkit_Major_Revision
00048 //#define WHIPDLL_EXTRA_VERSION     1
00049 //#define WHIPDLL_BUILD_VERSION     23
00050 //
00051 // From now on, the versioning will be independently adjusted to
00052 // reflect modifications to the API and improvements in the code.
00053 // However, the third field (the extra version) will reflect the
00054 // current version of the W2D graphics stream format, similar to
00055 // how the W3D Toolkit version reflects the version of the HSF
00056 // stream toolkit it uses.
00057 //
00058 #define WHIPDLL_MAJOR_VERSION     7
00059 #define WHIPDLL_MINOR_VERSION     11
00060 #define WHIPDLL_EXTRA_VERSION     601
00061 #define WHIPDLL_BUILD_VERSION     _DWFTK_VERSION_BUILD
00062 
00063 
00064 //The below #defines indicate versions (WD_Toolkit_Major_Revision*100 + WD_Toolkit_Minor_Revision)
00065 //when certain major stream events occurred, to be used in backwards-compatability code
00066 #define WHIP05_DWF_FILE_VERSION                                 17
00067 #define REVISION_WHEN_HISTORY_BUFFER_PRELOADED                  23
00068 #define WHIP10_DWF_FILE_VERSION                                 25
00069 #define WHIP20_DWF_FILE_VERSION                                 30
00070 #define REVISION_WHEN_SET_FONT_STRING_FIXED                     31
00071 #define REVISION_WHEN_DRAW_TEXT_ATTRIBUTES_REMOVED              32
00072 #define REVISION_WHEN_BINARY_COLOR_CHANGED_TO_RGBA_FROM_BGRA    33
00073 #define WHIP30_DWF_FILE_VERSION                                 34
00074 #define REVISION_WHEN_COMMA_FOR_DECIMAL_CORRECTED               35
00075 #define REVISION_WHEN_UNDERLINING_WAS_ADDED                     35
00076 #define HOMER_DWF_FILE_VERSION                                  35
00077 #define REVISION_WHEN_STRINGS_CHANGED_TO_UNICODE_FROM_ASCII     36
00078 #define WHIP31_DWF_FILE_VERSION                                 36
00079 #define REVISION_WHEN_HEIDI_DRAWING_CHANGED                     37
00080 #define REVISION_WHEN_WIDE_LINES_ADDED                          37
00081 #define REVISION_WHEN_MULTI_URLS_WERE_SUPPORTED                 37
00082 #define REVISION_WHEN_DEFAULT_COLORMAP_WAS_CHANGED              38
00083 #define REVISION_WHEN_ZLIB_COMPRESSION_IS_SUPPORTED             39
00084 #define REVISION_WHEN_LANDSCAPE_FLIP_ADDED_TO_PLOTINFO          40
00085 #define REVISION_WHEN_ROTATION_ADDED_TO_PLOTINFO                41
00086 #define REVISION_WHEN_CONTOUR_SET_USED_FOR_VIEWPORTS            42
00087 #define WHIP40_DWF_FILE_VERSION                                 42
00088 #define WHIP50_DWF_FILE_VERSION                                 50
00089 #define REVISION_WHEN_READ_WRITE_MODE_WAS_SUPPORTED             55
00090 #define WHIP52_DWF_FILE_VERSION                                 55
00091 //Note, this is correct.  Version 600 is the first "major revision" the format has undergone.
00092 #define REVISION_WHEN_PACKAGE_FORMAT_BEGINS                    600
00093 
00094 // The following also defines when Polymarker is deprecated from the API
00095 #define REVISION_WHEN_MACRO_IS_SUPPORTED                       601
00096 
00097 #define REVISION_WHEN_TEXT_ALIGNMENT_IS_SUPPORTED              601
00098 
00099 #define _WHIPTK_VERSION_ECHO( s )               #s
00100 #define _WHIPTK_VERSION_STRING_( a, b, c, d )   _WHIPTK_VERSION_ECHO(a) "." _WHIPTK_VERSION_ECHO(b) "." _WHIPTK_VERSION_ECHO(c) "." _WHIPTK_VERSION_ECHO(d) "\0"
00101 #define _WHIPTK_VERSION_STRING                  _WHIPTK_VERSION_STRING_( WHIPDLL_MAJOR_VERSION, WHIPDLL_MINOR_VERSION, WHIPDLL_EXTRA_VERSION, WHIPDLL_BUILD_VERSION )
00102 
00103 // Define resource strings
00104 #define ECHO(a)                        #a
00105 
00106 // The WHIP_VERSION_STRING can be used in an "About WHIP!..." box
00107 #define STRINGIZE_WHIP_VERSION(major, minor, build) "Release " ECHO(major) "." ECHO(minor) "." ECHO(extra) "." ECHO(build) "\0"
00108 #define WHIP_VERSION_STRING                         STRINGIZE_WHIP_VERSION(WHIPDLL_MAJOR_VERSION, WHIPDLL_MINOR_VERSION, WHIPDLL_EXTRA_VERSION, WHIPDLL_BUILD_VERSION)
00109 
00110 // The WHIP_BUILD_STRING is used as the file version identifier on all
00111 // the DLLs so whip.cab will download new versions as we update the DLLs.
00112 // We put it in this form to allow it to be used in the Win32 versioning mechanism.
00113 // This is also the product version of WHIP!. It is common to all unique components
00114 // of WHIP!, i.e. not Heidi since Heidi has its own version.
00115 //#define STRINGIZE_WHIP_BUILD(major, minor, extra, build) ECHO(major) "." ECHO(minor) "." ECHO(extra) "." ECHO(build) "\0"
00116 //#define WHIP_BUILD_STRING                         STRINGIZE_WHIP_BUILD(WHIPDLL_MAJOR_VERSION, WHIPDLL_MINOR_VERSION, WHIPDLL_EXTRA_VERSION, WHIPDLL_BUILD_VERSION)
00117 #define WHIP_BUILD_STRING   _WHIPTK_VERSION_STRING
00118 
00119 
00120 #endif // WVERSION_HEADER

Generated on Tue Jan 6 22:41:13 2009 for Autodesk DWF Whip 2D Toolkit by  doxygen 1.4.5