DWFXPackageVersionExtension.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_DWFX_PACKAGE_VERSION_EXTENSION_H
00021 #define _DWFTK_DWFX_PACKAGE_VERSION_EXTENSION_H
00022 
00027 
00028 #ifndef DWFTK_READ_ONLY
00029 
00030 #include "dwfcore/String.h"
00031 #include "dwfcore/Exception.h"
00032 using namespace DWFCore;
00033 
00034 #include "dwf/Toolkit.h"
00035 
00036 namespace DWFToolkit
00037 {
00038 class DWFXPackageWriter;
00039 
00068 class DWFXPackageVersionExtension _DWFTK_EXPORT_API_MEMORY_CONTROL_BASE
00069 {
00070 
00071 public:
00072 
00078     _DWFTK_API
00079     virtual ~DWFXPackageVersionExtension()
00080         throw(){;}
00081 
00088     _DWFTK_API
00089     virtual unsigned short major()
00090         throw() = 0;
00091 
00098     _DWFTK_API
00099     virtual unsigned short minor()
00100         throw() = 0;
00101 
00102 
00109     _DWFTK_API
00110     virtual DWFString extensionVersionAsWideString()
00111         throw() = 0;
00112 
00113 protected:
00114 
00120     _DWFTK_API
00121     DWFXPackageVersionExtension()
00122         throw(){;}
00123 };
00124 
00125 }
00126 
00127 #endif
00128 #endif
00129 

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