7.10x/PackageVersionExtension.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 
00020 #ifndef _DWFTK_PACKAGE_VERSION_EXTENSION_7_10_H
00021 #define _DWFTK_PACKAGE_VERSION_EXTENSION_7_10_H
00022 
00023 
00028 
00029 #ifndef DWFTK_READ_ONLY
00030 
00031 #include "dwf/Version.h"
00032 #include "dwf/package/writer/DWFXPackageVersionExtension.h"
00033 namespace DWFToolkit
00034 {
00035 
00036 #define _DWFX_FORMAT_VERSION_710_MAJOR                   7       // Internal Use Only
00037 #define _DWFX_FORMAT_VERSION_710_MINOR                   1       // Internal Use Only
00038 
00042 #define _DWFX_FORMAT_VERSION_710_WIDE_STRING     L"7.10"
00043 
00057 class DWFXPackageVersion710Extension : public DWFXPackageVersionExtension
00058                                      _DWFTK_EXPORT_API_MEMORY_CONTROL_BASE_MEMBER
00059 {
00060 
00061 public:
00062 
00068     _DWFTK_API
00069     DWFXPackageVersion710Extension()
00070         throw()
00071     {
00072         ;
00073     }
00074 
00080     _DWFTK_API
00081     virtual ~DWFXPackageVersion710Extension()
00082         throw()
00083     {
00084         ;
00085     }
00086 
00090     _DWFTK_API
00091     unsigned short major()
00092         throw()
00093     {
00094         return _DWFX_FORMAT_VERSION_710_MAJOR;
00095     }
00096 
00100     _DWFTK_API
00101     unsigned short minor()
00102         throw()
00103     {
00104         return _DWFX_FORMAT_VERSION_710_MINOR;
00105     }
00106 
00111     _DWFTK_API
00112     DWFString extensionVersionAsWideString()
00113                 throw()
00114     {
00115         return DWFString(_DWFX_FORMAT_VERSION_710_WIDE_STRING);
00116     }
00117 
00118 };
00119 
00120 }
00121 
00122 
00123 #endif
00124 #endif
00125 

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