00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef MediaInfo_ConstH
00026 #define MediaInfo_ConstH
00027
00028
00029
00030 #include <string>
00031 #include <ZenLib/Conf.h>
00032
00033
00034 namespace MediaInfoLib
00035 {
00036
00037
00067
00068
00069
00071 enum stream_t
00072 {
00073 Stream_General,
00074 Stream_Video,
00075 Stream_Audio,
00076 Stream_Text,
00077 Stream_Chapters,
00078 Stream_Image,
00079 Stream_Menu,
00080 Stream_Max
00081 };
00082
00084 enum info_t
00085 {
00086 Info_Name,
00087 Info_Text,
00088 Info_Measure,
00089 Info_Options,
00090 Info_Name_Text,
00091 Info_Measure_Text,
00092 Info_Info,
00093 Info_HowTo,
00094 Info_Domain,
00095 Info_Max
00096 };
00097
00102 enum infooptions_t
00103 {
00104 InfoOption_ShowInInform,
00105 InfoOption_Reserved,
00106 InfoOption_ShowInSupported,
00107 InfoOption_TypeOfValue,
00108 InfoOption_Max
00109 };
00110
00112 enum fileoptions_t
00113 {
00114 FileOption_Nothing =0x00,
00115 FileOption_Recursive =0x01,
00116 FileOption_CloseAll =0x02,
00117 FileOption_Max =0x04
00118 };
00119
00121 enum infoformat_t
00122 {
00123 InfoFormat_Name,
00124 InfoFormat_LongName,
00125 InfoFormat_Family,
00126 InfoFormat_KindofFormat,
00127 InfoFormat_Parser,
00128 InfoFormat_Info,
00129 InfoFormat_Extensions,
00130 InfoFormat_Url,
00131 InfoFormat_Max
00132 };
00133
00135 enum infocodec_t
00136 {
00137 InfoCodec_Codec,
00138 InfoCodec_Name,
00139 InfoCodec_KindOfCode,
00140 InfoCodec_KindOfStream,
00141 InfoCodec_KindofCodec,
00142 InfoCodec_BitRate_Mode,
00143 InfoCodec_Description,
00144 InfoCodec_Url,
00145 InfoCodec_Max
00146 };
00147
00149 enum infoencoder_t
00150 {
00151 InfoEncoder_Name,
00152 InfoEncoder_LongName,
00153 InfoEncoder_Date,
00154 InfoEncoder_Max
00155 };
00156
00158 enum blockmethod_t
00159 {
00160 BlockMethod_Now,
00161 BlockMethod_Often,
00162 BlockMethod_Local,
00163 BlockMethod_Needed,
00164 BlockMethod_Max
00165 };
00166
00167
00168
00169
00170 #undef _T
00171 #define _T(__x) __T(__x)
00172 #if defined(UNICODE) || defined (_UNICODE)
00173 typedef wchar_t Char;
00174 #undef __T
00175 #define __T(__x) L ## __x
00176 #else
00177 typedef char Char;
00178 #undef __T
00179 #define __T(__x) __x
00180 #endif
00181 typedef std::basic_string<MediaInfoLib::Char> String;
00182 typedef std::basic_stringstream<MediaInfoLib::Char> StringStream;
00183 typedef std::basic_istringstream<MediaInfoLib::Char> tiStringStream;
00184 typedef std::basic_ostringstream<MediaInfoLib::Char> toStringStream;
00185
00186
00187 }
00188
00189 #endif