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 11
33#define TAGLIB_PATCH_VERSION 1
34
35#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 1)) || defined(__clang__)
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
59namespace TagLib {
60
61 class String;
62
63 // These integer types are deprecated. Do not use them.
64
65 typedef wchar_t wchar; // Assumed to be sufficient to store a UTF-16 char.
66 typedef unsigned char uchar;
67 typedef unsigned short ushort;
68 typedef unsigned int uint;
69 typedef unsigned long ulong;
70 typedef unsigned long long ulonglong;
71
76 typedef std::basic_string<wchar_t> wstring;
77}
78
170#endif
A namespace for all TagLib related classes and functions.
Definition: apefile.h:41
unsigned int uint
Definition: taglib.h:68
unsigned char uchar
Definition: taglib.h:66
unsigned short ushort
Definition: taglib.h:67
unsigned long long ulonglong
Definition: taglib.h:70
unsigned long ulong
Definition: taglib.h:69
wchar_t wchar
Definition: taglib.h:65
std::basic_string< wchar_t > wstring
Definition: taglib.h:76