MediaInfoLib
0.7
Main Page
Namespaces
Classes
Files
File List
MediaInfo
MediaInfo_Const.h
1
/* Copyright (c) MediaArea.net SARL. All Rights Reserved.
2
*
3
* Use of this source code is governed by a BSD-style license that can
4
* be found in the License.html file in the root of the source tree.
5
*/
6
7
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8
//
9
// Global configuration of MediaInfo
10
//
11
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
12
13
//---------------------------------------------------------------------------
14
#ifndef MediaInfo_ConstH
15
#define MediaInfo_ConstH
16
//---------------------------------------------------------------------------
17
18
//---------------------------------------------------------------------------
19
#include <sstream>
20
#include <string>
21
#include <ZenLib/Conf.h>
22
//---------------------------------------------------------------------------
23
24
namespace
MediaInfoLib
25
{
26
27
//---------------------------------------------------------------------------
57
//---------------------------------------------------------------------------
58
59
//---------------------------------------------------------------------------
61
enum
stream_t
62
{
63
Stream_General
,
64
Stream_Video
,
65
Stream_Audio
,
66
Stream_Text
,
67
Stream_Other
,
68
Stream_Image
,
69
Stream_Menu
,
70
Stream_Max
71
};
72
74
enum
info_t
75
{
76
Info_Name
,
77
Info_Text
,
78
Info_Measure
,
79
Info_Options
,
80
Info_Name_Text
,
81
Info_Measure_Text
,
82
Info_Info
,
83
Info_HowTo
,
84
Info_Domain
,
85
Info_Max
86
};
87
92
enum
infooptions_t
93
{
94
InfoOption_ShowInInform
,
95
InfoOption_Reserved,
96
InfoOption_ShowInSupported
,
97
InfoOption_TypeOfValue
,
98
InfoOption_ShowInXml,
99
InfoOption_Max
100
};
101
103
enum
fileoptions_t
104
{
105
FileOption_Nothing =0x00,
106
FileOption_NoRecursive
=0x01,
107
FileOption_CloseAll
=0x02,
108
FileOption_Max =0x04
109
};
110
111
//---------------------------------------------------------------------------
112
113
//---------------------------------------------------------------------------
114
//Char types
115
#undef __T
116
#define __T(__x) __T(__x)
117
#if defined(UNICODE) || defined (_UNICODE)
118
typedef
wchar_t
Char
;
119
#undef __T
120
#define __T(__x) L ## __x
121
#else
122
typedef
char
Char
;
123
#undef __T
124
#define __T(__x) __x
125
#endif
126
typedef
std::basic_string<MediaInfoLib::Char>
String
;
127
typedef
std::basic_stringstream<MediaInfoLib::Char>
StringStream
;
128
typedef
std::basic_istringstream<MediaInfoLib::Char>
tiStringStream
;
129
typedef
std::basic_ostringstream<MediaInfoLib::Char>
toStringStream
;
130
//---------------------------------------------------------------------------
131
132
}
//NameSpace
133
134
#endif
Generated on Sat Jul 11 2026 11:42:18 for MediaInfoLib by
1.8.3.1-20130209