blob: 312d0c447dacc32a9f1b2ea95eaba54f4c561e17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
/******************************************************************************
* This file is part of the Mula project
* Copyright (c) 2011 Laszlo Papp <lpapp@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef Q_OPENAL_EXPORT_H
#define Q_OPENAL_EXPORT_H
#include <QtCore/qglobal.h>
#ifndef Q_OPENAL_EXPORT
#if defined(MAKE_Q_OPENAL_LIB)
#define Q_OPENAL_EXPORT Q_DECL_EXPORT
#else
#define Q_OPENAL_EXPORT Q_DECL_IMPORT
#endif
#endif
#ifndef Q_OPENAL_EXPORT_DEPRECATED
#define Q_OPENAL_EXPORT_DEPRECATED Q_DECL_DEPRECATED Q_OPENAL_EXPORT
#endif
#if !defined(ALC_VERSION_0_1) || !defined(AL_VERSION_1_0)
#ifdef Q_OS_WIN
#include <al.h>
#include <alc.h>
#elif defined(Q_OS_MAC)
#include <OpenAL/alc.h>
#include <OpenAL/al.h>
#else
#include <AL/al.h>
#include <AL/alc.h>
#endif
#endif
#endif // Q_OPENAL_EXPORT_H
|