00001 // 00002 // Copyright (c) 2000 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 // $Id: 5dd7ddfa9ffdb6921c77117af6a16708a32234da $ 00013 // 00014 00016 00021 #ifndef HBINFILETKHEADER 00022 #define HBINFILETKHEADER 00023 00024 #ifndef __cplusplus 00025 #error C++ compiler required 00026 #endif 00027 00028 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00029 00030 #ifdef _MSC_VER 00031 #ifndef HSTREAM_STATIC_LIB 00032 #ifdef HBINFILETK_EXPORTS 00033 #define HBINFILETK_API2 __declspec (dllexport) 00034 #else 00035 #define HBINFILETK_API2 __declspec (dllimport) 00036 #endif 00037 #else 00038 #ifndef BSTREAM_STATIC_LIB 00039 #define BSTREAM_STATIC_LIB 00040 #endif 00041 #define HBINFILETK_API2 00042 #endif 00043 #else 00044 #define HBINFILETK_API2 00045 #endif 00046 00047 00048 #ifdef TEST_RIG_1 00049 #define HBINFILETK_API 00050 #else 00051 #define HBINFILETK_API HBINFILETK_API2 00052 #endif 00053 00054 00055 #ifdef HSTREAM_READONLY 00056 #ifndef BSTREAM_READONLY 00057 #define BSTREAM_READONLY 00058 #endif 00059 #endif 00060 00061 00062 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00063 00064 #include "BStream.h" 00065 #include "hc.h" 00066 00067 #include "HOpcodeHandler.h" 00068 #include "HStreamFileToolkit.h" 00069 00070 //#include "utf_utils.h" 00071 00076 00077 00085 #ifndef SWIG 00086 TK_Status HBINFILETK_API HTK_Read_Stream_File (char const * filename, HStreamFileToolkit * tk); 00087 #endif 00088 00090 00097 #ifndef SWIG 00098 TK_Status HBINFILETK_API HTK_Read_Stream_File (char const * filename, int flags = 0); 00099 #endif 00100 00101 00103 00109 TK_Status HBINFILETK_API HTK_Read_Stream_File (__wchar_t const * filename, HStreamFileToolkit * tk); 00110 #ifdef H_USHORT_OVERLOAD 00111 TK_Status HBINFILETK_API HTK_Read_Stream_File (unsigned short const * filename, HStreamFileToolkit * tk); 00112 #endif 00113 00115 00122 TK_Status HBINFILETK_API HTK_Read_Stream_File (__wchar_t const * filename, int flags = 0); 00123 #ifdef _MSC_VER 00124 TK_Status HBINFILETK_API HTK_Read_Stream_File (unsigned short const * filename, int flags = 0); 00125 #endif 00126 00127 00129 00134 #ifndef SWIG 00135 TK_Status HBINFILETK_API HTK_Read_Stream_File (char const * filename, int flags, HStreamFileToolkit * tk); 00136 #endif 00137 00146 00147 00155 #ifndef SWIG 00156 TK_Status HBINFILETK_API HTK_Write_Stream_File (char const * filename, HStreamFileToolkit * tk); 00157 #endif 00158 00159 00160 00162 00169 #ifndef SWIG 00170 TK_Status HBINFILETK_API HTK_Write_Stream_File (char const * filename, int flags = 0); 00171 #endif 00172 00173 00174 00176 00184 TK_Status HBINFILETK_API2 HTK_Write_Stream_File (__wchar_t const * filename, HStreamFileToolkit * tk); 00185 #ifdef H_USHORT_OVERLOAD 00186 TK_Status HBINFILETK_API2 HTK_Write_Stream_File (unsigned short const * filename, HStreamFileToolkit * tk); 00187 #endif 00188 00189 00191 00198 TK_Status HBINFILETK_API HTK_Write_Stream_File (__wchar_t const * filename, int flags = 0); 00199 #ifdef H_USHORT_OVERLOAD 00200 TK_Status HBINFILETK_API HTK_Write_Stream_File (unsigned short const * filename, int flags = 0); 00201 #endif 00202 00203 00204 00206 00211 #ifndef SWIG 00212 TK_Status HBINFILETK_API2 HTK_Write_Stream_File (char const * filename, int flags, HStreamFileToolkit * tk); 00213 #endif 00214 00215 #endif 00216