/usr/src/redhat/BUILD/MediaInfoLib/Source/MediaInfo/MediaInfo_Const.h

Go to the documentation of this file.
00001 // MediaInfo_Config - Configuration class
00002 // Copyright (C) 2005-2007 Jerome Martinez, Zen@MediaArea.net
00003 //
00004 // This library is free software: you can redistribute it and/or modify it
00005 // under the terms of the GNU Lesser General Public License as published by
00006 // the Free Software Foundation, either version 3 of the License, or
00007 // any later version.
00008 //
00009 // This library is distributed in the hope that it will be useful,
00010 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012 // GNU Lesser General Public License for more details.
00013 //
00014 // You should have received a copy of the GNU Lesser General Public License
00015 // along with this library. If not, see <http://www.gnu.org/licenses/>.
00016 //
00017 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00018 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00019 //
00020 // Global configuration of MediaInfo
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 //Char types
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 } //NameSpace
00142 
00143 #endif

Generated on Mon Nov 22 19:26:36 2010 for MediaInfoLib by  doxygen 1.4.7