MediaInfo_Const.h

00001 /*  Copyright (c) MediaArea.net SARL. All Rights Reserved.
00002  *
00003  *  Use of this source code is governed by a BSD-style license that can
00004  *  be found in the License.html file in the root of the source tree.
00005  */
00006 
00007 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00008 //
00009 // Global configuration of MediaInfo
00010 //
00011 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00012 
00013 //---------------------------------------------------------------------------
00014 #ifndef MediaInfo_ConstH
00015 #define MediaInfo_ConstH
00016 //---------------------------------------------------------------------------
00017 
00018 //---------------------------------------------------------------------------
00019 #include <string>
00020 #include <ZenLib/Conf.h>
00021 //---------------------------------------------------------------------------
00022 
00023 namespace MediaInfoLib
00024 {
00025 
00026 //---------------------------------------------------------------------------
00056 //---------------------------------------------------------------------------
00057 
00058 //---------------------------------------------------------------------------
00060 enum stream_t
00061 {
00062     Stream_General,                 
00063     Stream_Video,                   
00064     Stream_Audio,                   
00065     Stream_Text,                    
00066     Stream_Other,                   
00067     Stream_Image,                   
00068     Stream_Menu,                    
00069     Stream_Max
00070 };
00071 
00073 enum info_t
00074 {
00075     Info_Name,                      
00076     Info_Text,                      
00077     Info_Measure,                   
00078     Info_Options,                   
00079     Info_Name_Text,                 
00080     Info_Measure_Text,              
00081     Info_Info,                      
00082     Info_HowTo,                     
00083     Info_Domain,                    
00084     Info_Max
00085 };
00086 
00091 enum infooptions_t
00092 {
00093     InfoOption_ShowInInform,        
00094     InfoOption_Reserved,            
00095     InfoOption_ShowInSupported,     
00096     InfoOption_TypeOfValue,         
00097     InfoOption_Max
00098 };
00099 
00101 enum fileoptions_t
00102 {
00103     FileOption_Nothing      =0x00,
00104     FileOption_NoRecursive  =0x01,  
00105     FileOption_CloseAll     =0x02,  
00106     FileOption_Max          =0x04
00107 };
00108 
00109 //---------------------------------------------------------------------------
00110 
00111 //---------------------------------------------------------------------------
00112 //Char types
00113 #undef  __T
00114 #define __T(__x)     __T(__x)
00115 #if defined(UNICODE) || defined (_UNICODE)
00116     typedef wchar_t Char;                                               
00117     #undef  __T
00118     #define __T(__x) L ## __x
00119 #else
00120     typedef char Char;                                                  
00121     #undef  __T
00122     #define __T(__x) __x
00123 #endif
00124 typedef std::basic_string<MediaInfoLib::Char>        String;            
00125 typedef std::basic_stringstream<MediaInfoLib::Char>  StringStream;      
00126 typedef std::basic_istringstream<MediaInfoLib::Char> tiStringStream;    
00127 typedef std::basic_ostringstream<MediaInfoLib::Char> toStringStream;    
00128 //---------------------------------------------------------------------------
00129 
00130 } //NameSpace
00131 
00132 #endif

Generated on Thu Apr 9 06:03:58 2015 for MediaInfoLib by  doxygen 1.4.7