00001 // Copyright (c) 1998-2014 by Tech Soft 3D, Inc. 00002 // 00003 // The information contained herein is confidential and proprietary to Tech Soft 3D, Inc., 00004 // and considered a trade secret as defined under civil and criminal statutes. 00005 // Tech Soft 3D, Inc. shall pursue its civil and criminal remedies in the event of 00006 // unauthorized use or misappropriation of its trade secrets. Use of this information 00007 // by anyone other than authorized employees of Tech Soft 3D, Inc. is granted only under 00008 // a written non-disclosure agreement, expressly prescribing the scope and manner of such use. 00009 00011 00016 #ifndef HBINFILETKHEADER 00017 #define HBINFILETKHEADER 00018 00019 #ifndef __cplusplus 00020 #error C++ compiler required 00021 #endif 00022 00023 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00024 00025 #ifdef _MSC_VER 00026 #ifndef HSTREAM_STATIC_LIB 00027 #ifdef HBINFILETK_EXPORTS 00028 #define HBINFILETK_API2 __declspec (dllexport) 00029 #else 00030 #define HBINFILETK_API2 __declspec (dllimport) 00031 #endif 00032 #else 00033 #ifndef BSTREAM_STATIC_LIB 00034 #define BSTREAM_STATIC_LIB 00035 #endif 00036 #define HBINFILETK_API2 00037 #endif 00038 #else 00039 #define HBINFILETK_API2 00040 #endif 00041 00042 00043 #ifdef TEST_RIG_1 00044 #define HBINFILETK_API 00045 #else 00046 #define HBINFILETK_API HBINFILETK_API2 00047 #endif 00048 00049 00050 #ifdef HSTREAM_READONLY 00051 #ifndef BSTREAM_READONLY 00052 #define BSTREAM_READONLY 00053 #endif 00054 #endif 00055 00056 00057 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00058 00059 #include "BStream.h" 00060 #include "hc.h" 00061 00062 #include "HOpcodeHandler.h" 00063 #include "HStreamFileToolkit.h" 00064 00065 //#include "utf_utils.h" 00066 00071 00072 00080 #ifndef SWIG 00081 TK_Status HBINFILETK_API HTK_Read_Stream_File (char const * filename, HStreamFileToolkit * tk); 00082 #endif 00083 00085 00092 #ifndef SWIG 00093 TK_Status HBINFILETK_API HTK_Read_Stream_File (char const * filename, int flags = 0); 00094 #endif 00095 00096 00098 00104 TK_Status HBINFILETK_API HTK_Read_Stream_File (__wchar_t const * filename, HStreamFileToolkit * tk); 00105 #ifdef _MSC_VER 00106 TK_Status HBINFILETK_API HTK_Read_Stream_File (unsigned short const * filename, HStreamFileToolkit * tk); 00107 #endif 00108 00110 00117 TK_Status HBINFILETK_API HTK_Read_Stream_File (__wchar_t const * filename, int flags = 0); 00118 #ifdef _MSC_VER 00119 TK_Status HBINFILETK_API HTK_Read_Stream_File (unsigned short const * filename, int flags = 0); 00120 #endif 00121 00122 00124 00129 #ifndef SWIG 00130 TK_Status HBINFILETK_API HTK_Read_Stream_File (char const * filename, int flags, HStreamFileToolkit * tk); 00131 #endif 00132 00141 00142 00150 #ifndef SWIG 00151 TK_Status HBINFILETK_API HTK_Write_Stream_File (char const * filename, HStreamFileToolkit * tk); 00152 #endif 00153 00154 00155 00157 00164 #ifndef SWIG 00165 TK_Status HBINFILETK_API HTK_Write_Stream_File (char const * filename, int flags = 0); 00166 #endif 00167 00168 00169 00171 00179 TK_Status HBINFILETK_API2 HTK_Write_Stream_File (__wchar_t const * filename, HStreamFileToolkit * tk); 00180 #ifdef _MSC_VER 00181 TK_Status HBINFILETK_API2 HTK_Write_Stream_File (unsigned short const * filename, HStreamFileToolkit * tk); 00182 #endif 00183 00184 00186 00193 TK_Status HBINFILETK_API HTK_Write_Stream_File (__wchar_t const * filename, int flags = 0); 00194 #ifdef _MSC_VER 00195 TK_Status HBINFILETK_API HTK_Write_Stream_File (unsigned short const * filename, int flags = 0); 00196 #endif 00197 00198 00199 00201 00206 #ifndef SWIG 00207 TK_Status HBINFILETK_API2 HTK_Write_Stream_File (char const * filename, int flags, HStreamFileToolkit * tk); 00208 #endif 00209 00210 #endif 00211