xversion.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 XVERSION_HEADER
00020 #define XVERSION_HEADER
00021 
00025 
00026 #include "resource.h"
00027 #include "../Version.h"
00028 
00029 // Define XAML toolkit version information
00030 //
00031 // These are used in XamlFile.h in toolkit_major_revision() and toolkit_minor_revision()
00032 // in the WT_XAML_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 a W2X file document element attribute.
00035 #define WD_XAML_Toolkit_Major_Revision           7
00036 #define WD_XAML_Toolkit_Minor_Revision           0
00037 
00038 #define REVISION_WHEN_DWFX_FORMAT_BEGINS         700
00039 
00040 //
00041 // Define DLL version
00042 //
00043 
00044 #define _XAMLDLL_MAJOR_VERSION     7
00045 #define _XAMLDLL_MINOR_VERSION     5
00046 #define _XAMLDLL_EXTRA_VERSION     0
00047 #define _XAMLDLL_BUILD_VERSION     _DWFTK_VERSION_BUILD
00048 
00049 #define _XAMLTK_VERSION_ECHO( s )               #s
00050 #define _XAMLTK_VERSION_STRING_( a, b, c, d )   _XAMLTK_VERSION_ECHO(a) "." _XAMLTK_VERSION_ECHO(b) "." _XAMLTK_VERSION_ECHO(c) "." _XAMLTK_VERSION_ECHO(d) "\0"
00051 #define _XAMLTK_VERSION_STRING                  _XAMLTK_VERSION_STRING_( _XAMLDLL_MAJOR_VERSION, _XAMLDLL_MINOR_VERSION, _XAMLDLL_EXTRA_VERSION, _XAMLDLL_BUILD_VERSION )
00052 
00053 // The WHIP_BUILD_STRING is used as the file version identifier on all
00054 // the DLLs so whip.cab will download new versions as we update the DLLs.
00055 // We put it in this form to allow it to be used in the Win32 versioning mechanism.
00056 // This is also the product version of WHIP!. It is common to all unique components
00057 // of WHIP!, i.e. not Heidi since Heidi has its own version.
00058 //#define STRINGIZE_WHIP_BUILD(major, minor, extra, build) ECHO(major) "." ECHO(minor) "." ECHO(extra) "." ECHO(build) "\0"
00059 //#define WHIP_BUILD_STRING                         STRINGIZE_WHIP_BUILD(WHIPDLL_MAJOR_VERSION, WHIPDLL_MINOR_VERSION, WHIPDLL_EXTRA_VERSION, WHIPDLL_BUILD_VERSION)
00060 #define _XAML_BUILD_STRING   _XAMLTK_VERSION_STRING
00061 
00062 #endif // XVERSION_HEADER

Generated on Tue Jan 6 22:40:06 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5