Go to the documentation of this file.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_NoRecursive =0x01,
00116 FileOption_CloseAll =0x02,
00117 FileOption_Max =0x04
00118 };
00119
00120
00121
00122
00123
00124 #undef _T
00125 #define _T(__x) __T(__x)
00126 #if defined(UNICODE) || defined (_UNICODE)
00127 typedef wchar_t Char;
00128 #undef __T
00129 #define __T(__x) L ## __x
00130 #else
00131 typedef char Char;
00132 #undef __T
00133 #define __T(__x) __x
00134 #endif
00135 typedef std::basic_string<MediaInfoLib::Char> String;
00136 typedef std::basic_stringstream<MediaInfoLib::Char> StringStream;
00137 typedef std::basic_istringstream<MediaInfoLib::Char> tiStringStream;
00138 typedef std::basic_ostringstream<MediaInfoLib::Char> toStringStream;
00139
00140
00141 }
00142
00143 #endif