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 <string>
20
#include <ZenLib/Conf.h>
21
//---------------------------------------------------------------------------
22
23
namespace
MediaInfoLib
24
{
25
26
//---------------------------------------------------------------------------
56
//---------------------------------------------------------------------------
57
58
//---------------------------------------------------------------------------
60
enum
stream_t
61
{
62
Stream_General
,
63
Stream_Video
,
64
Stream_Audio
,
65
Stream_Text
,
66
Stream_Other
,
67
Stream_Image
,
68
Stream_Menu
,
69
Stream_Max
70
};
71
73
enum
info_t
74
{
75
Info_Name
,
76
Info_Text
,
77
Info_Measure
,
78
Info_Options
,
79
Info_Name_Text
,
80
Info_Measure_Text
,
81
Info_Info
,
82
Info_HowTo
,
83
Info_Domain
,
84
Info_Max
85
};
86
91
enum
infooptions_t
92
{
93
InfoOption_ShowInInform
,
94
InfoOption_Reserved,
95
InfoOption_ShowInSupported
,
96
InfoOption_TypeOfValue
,
97
InfoOption_Max
98
};
99
101
enum
fileoptions_t
102
{
103
FileOption_Nothing =0x00,
104
FileOption_NoRecursive
=0x01,
105
FileOption_CloseAll
=0x02,
106
FileOption_Max =0x04
107
};
108
109
//---------------------------------------------------------------------------
110
111
//---------------------------------------------------------------------------
112
//Char types
113
#undef __T
114
#define __T(__x) __T(__x)
115
#if defined(UNICODE) || defined (_UNICODE)
116
typedef
wchar_t
Char
;
117
#undef __T
118
#define __T(__x) L ## __x
119
#else
120
typedef
char
Char
;
121
#undef __T
122
#define __T(__x) __x
123
#endif
124
typedef
std::basic_string<MediaInfoLib::Char>
String
;
125
typedef
std::basic_stringstream<MediaInfoLib::Char>
StringStream
;
126
typedef
std::basic_istringstream<MediaInfoLib::Char>
tiStringStream
;
127
typedef
std::basic_ostringstream<MediaInfoLib::Char>
toStringStream
;
128
//---------------------------------------------------------------------------
129
130
}
//NameSpace
131
132
#endif
Generated by
1.8.3.1