Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages | Examples

wversion.h

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

Generated on Tue May 17 12:07:44 2005 for Autodesk DWF Whip 2D Toolkit by  doxygen 1.4.1