TagLib 1.9.1 (taglib.h Source File)
Home
Class Hierarchy
Namespaces
Classes
Headers
Namespace Members
Class Members
File Members
taglib
toolkit
taglib.h
Go to the documentation of this file.
1
/***************************************************************************
2
copyright : (C) 2002 - 2008 by Scott Wheeler
3
email : wheeler@kde.org
4
***************************************************************************/
5
6
/***************************************************************************
7
* This library is free software; you can redistribute it and/or modify *
8
* it under the terms of the GNU Lesser General Public License version *
9
* 2.1 as published by the Free Software Foundation. *
10
* *
11
* This library is distributed in the hope that it will be useful, but *
12
* WITHOUT ANY WARRANTY; without even the implied warranty of *
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
14
* Lesser General Public License for more details. *
15
* *
16
* You should have received a copy of the GNU Lesser General Public *
17
* License along with this library; if not, write to the Free Software *
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA *
19
* 02110-1301 USA *
20
* *
21
* Alternatively, this file is available under the Mozilla Public *
22
* License Version 1.1. You may obtain a copy of the License at *
23
* http://www.mozilla.org/MPL/ *
24
***************************************************************************/
25
26
#ifndef TAGLIB_H
27
#define TAGLIB_H
28
29
#include "taglib_config.h"
30
31
#define TAGLIB_MAJOR_VERSION 1
32
#define TAGLIB_MINOR_VERSION 9
33
#define TAGLIB_PATCH_VERSION 1
34
35
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 1))
36
#define TAGLIB_IGNORE_MISSING_DESTRUCTOR _Pragma("GCC diagnostic ignored \"-Wnon-virtual-dtor\"")
37
#else
38
#define TAGLIB_IGNORE_MISSING_DESTRUCTOR
39
#endif
40
41
#if (defined(_MSC_VER) && _MSC_VER >= 1600)
42
#define TAGLIB_CONSTRUCT_BITSET(x) static_cast<unsigned long long>(x)
43
#else
44
#define TAGLIB_CONSTRUCT_BITSET(x) static_cast<unsigned long>(x)
45
#endif
46
47
#include <string>
48
50
59
namespace
TagLib {
60
61
class
String
;
62
63
typedef
wchar_t
wchar
;
// Assumed to be sufficient to store a UTF-16 char.
64
typedef
unsigned
char
uchar
;
65
typedef
unsigned
short
ushort
;
66
typedef
unsigned
int
uint
;
67
typedef
unsigned
long
long
ulonglong
;
68
69
// long/ulong can be either 32-bit or 64-bit wide.
70
typedef
unsigned
long
ulong
;
71
76
typedef
std::basic_string<wchar>
wstring
;
77
}
78
170
#endif