MediaInfoLib
0.7
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Typedefs
Enumerations
Enumerator
Macros
Pages
MediaInfo
MediaInfo_Const.h
Go to the documentation of this file.
1
// MediaInfo_Config - Configuration class
2
// Copyright (C) 2005-2007 Jerome Martinez, Zen@MediaArea.net
3
//
4
// This library is free software: you can redistribute it and/or modify it
5
// under the terms of the GNU Lesser General Public License as published by
6
// the Free Software Foundation, either version 3 of the License, or
7
// any later version.
8
//
9
// This library is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
// GNU Lesser General Public License for more details.
13
//
14
// You should have received a copy of the GNU Lesser General Public License
15
// along with this library. If not, see <http://www.gnu.org/licenses/>.
16
//
17
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
18
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
19
//
20
// Global configuration of MediaInfo
21
//
22
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
23
24
//---------------------------------------------------------------------------
25
#ifndef MediaInfo_ConstH
26
#define MediaInfo_ConstH
27
//---------------------------------------------------------------------------
28
29
//---------------------------------------------------------------------------
30
#include <string>
31
#include <ZenLib/Conf.h>
32
//---------------------------------------------------------------------------
33
34
namespace
MediaInfoLib
35
{
36
37
//---------------------------------------------------------------------------
67
//---------------------------------------------------------------------------
68
69
//---------------------------------------------------------------------------
71
enum
stream_t
72
{
73
Stream_General
,
74
Stream_Video
,
75
Stream_Audio
,
76
Stream_Text
,
77
Stream_Chapters
,
78
Stream_Image
,
79
Stream_Menu
,
80
Stream_Max
81
};
82
84
enum
info_t
85
{
86
Info_Name
,
87
Info_Text
,
88
Info_Measure
,
89
Info_Options
,
90
Info_Name_Text
,
91
Info_Measure_Text
,
92
Info_Info
,
93
Info_HowTo
,
94
Info_Domain
,
95
Info_Max
96
};
97
102
enum
infooptions_t
103
{
104
InfoOption_ShowInInform
,
105
InfoOption_Reserved
,
106
InfoOption_ShowInSupported
,
107
InfoOption_TypeOfValue
,
108
InfoOption_Max
109
};
110
112
enum
fileoptions_t
113
{
114
FileOption_Nothing
=0x00,
115
FileOption_NoRecursive
=0x01,
116
FileOption_CloseAll
=0x02,
117
FileOption_Max
=0x04
118
};
119
120
//---------------------------------------------------------------------------
121
122
//---------------------------------------------------------------------------
123
//Char types
124
#undef _T
125
#define _T(__x) __T(__x)
126
#if defined(UNICODE) || defined (_UNICODE)
127
typedef
wchar_t
Char
;
128
#undef __T
129
#define __T(__x) L ## __x
130
#else
131
typedef
char
Char
;
132
#undef __T
133
#define __T(__x) __x
134
#endif
135
typedef
std::basic_string<MediaInfoLib::Char>
String
;
136
typedef
std::basic_stringstream<MediaInfoLib::Char>
StringStream
;
137
typedef
std::basic_istringstream<MediaInfoLib::Char>
tiStringStream
;
138
typedef
std::basic_ostringstream<MediaInfoLib::Char>
toStringStream
;
139
//---------------------------------------------------------------------------
140
141
}
//NameSpace
142
143
#endif
Generated by
1.8.1