Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HIOUtilityDwfImport.h
00001 //
00002 // Copyright (c) 2005 by Tech Soft 3D, LLC.
00003 // The information contained herein is confidential and proprietary to
00004 // Tech Soft 3D, LLC., and considered a trade secret as defined under
00005 // civil and criminal statutes.  Tech Soft 3D shall pursue its civil
00006 // and criminal remedies in the event of unauthorized use or misappropriation
00007 // of its trade secrets.  Use of this information by anyone other than
00008 // authorized employees of Tech Soft 3D, LLC. is granted only under a
00009 // written non-disclosure agreement, expressly prescribing the scope and
00010 // manner of such use.
00011 //
00012 
00013 
00014 #ifndef _HW3D_UTILITY_DWFIMPORT_H__RAJESH_B__20060504_1159__
00015 #define _HW3D_UTILITY_DWFIMPORT_H__RAJESH_B__20060504_1159__
00016 
00017 #include "HTools.h" 
00018 #include "HIOManager.h"
00019 #include "HW3DStream.h"
00020 
00021 #if defined(_MSC_VER) && defined(HIO_DWF_IMPORT)
00022 #define HIO_API __declspec (dllexport)
00023 #else
00024 #define HIO_API
00025 #endif
00026 
00032 class HIO_API HIOUtilityDwfImport : public HInputHandler
00033 {
00034 public:
00035     HIOUtilityDwfImport() 
00036     { 
00037         SetInputOps(HInputOpFileInputByKey);
00038     };
00039 
00040     ~HIOUtilityDwfImport() {;};
00041 
00042     void RegisterInputHandlerTypes() {
00043         HIORegisterInputType("DWF",this);  // DWF (Autodesk's Design Web Format)
00044         HIORegisterInputType("dwf",this);  // DWF (Autodesk's Design Web Format)
00045         HIORegisterInputType("DWFX",this);  // DWF (Autodesk's Design Web Format for XPS)
00046         HIORegisterInputType("dwfx",this);  // DWF (Autodesk's Design Web Format for XPS)
00047     };
00050     const char * GetOutputName() { return "HIOUtilityDwfImport"; }
00051     const char * GetInputName() { return "HIOUtilityDwfImport"; }
00052 
00053     HInputHandlerStyle GetInputStyle() {return HInputHandlerStyleModel;};
00054     const char * GetInputTypesString() {return "dwf";};
00055 
00062     HFileInputResult FileInputByKey(const wchar_t * FileName, HC_KEY key, HInputHandlerOptions * options);
00063 
00064     HFileInputResult FileInputByKey(const char * FileName, HC_KEY key, HInputHandlerOptions * options){
00065         return FileInputByKey(H_WCS(FileName).encodedText(), key, options);
00066     };
00067 };
00068 
00069 #endif  // _HW3D_UTILITY_DWFIMPORT_H__RAJESH_B__20060504_1159__
00070 
00071 
00072 
00073 
00074