| 1 | /* |
|---|
| 2 | * ORXONOX - the hottest 3D action shooter ever to exist |
|---|
| 3 | * > www.orxonox.net < * |
|---|
| 4 | * |
|---|
| 5 | * License notice: |
|---|
| 6 | * |
|---|
| 7 | * This program is free software; you can redistribute it and/or |
|---|
| 8 | * modify it under the terms of the GNU General Public License |
|---|
| 9 | * as published by the Free Software Foundation; either version 2 |
|---|
| 10 | * of the License, or (at your option) any later version. |
|---|
| 11 | * |
|---|
| 12 | * This program is distributed in the hope that it will be useful, |
|---|
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 15 | * GNU General Public License for more details. |
|---|
| 16 | * |
|---|
| 17 | * You should have received a copy of the GNU General Public License |
|---|
| 18 | * along with this program; if not, write to the Free Software |
|---|
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|---|
| 20 | * |
|---|
| 21 | * Author: |
|---|
| 22 | * Reto Grieder |
|---|
| 23 | * Co-authors: |
|---|
| 24 | * ... |
|---|
| 25 | * |
|---|
| 26 | */ |
|---|
| 27 | |
|---|
| 28 | /** |
|---|
| 29 | @file |
|---|
| 30 | @brief Contains all the necessary forward declarations for all classes and structs. |
|---|
| 31 | */ |
|---|
| 32 | |
|---|
| 33 | #ifndef _AudioPrereqs_H__ |
|---|
| 34 | #define _AudioPrereqs_H__ |
|---|
| 35 | |
|---|
| 36 | #include "util/OrxonoxPlatform.h" |
|---|
| 37 | |
|---|
| 38 | //-----------------------------------------------------------------------// Shared library settings//-----------------------------------------------------------------------#if (ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32) && !defined( AUDIO_STATIC_BUILD )# ifdef AUDIO_SHARED_BUILD# define _AudioExport __declspec(dllexport)# else# if defined( __MINGW32__ )# define _AudioExport# else# define _AudioExport __declspec(dllimport)# endif# endif#elif defined ( ORXONOX_GCC_VISIBILITY )# define _AudioExport __attribute__ ((visibility("default")))#else# define _AudioExport#endif |
|---|
| 39 | //-----------------------------------------------------------------------// Forward declarations//----------------------------------------------------------------------- |
|---|
| 40 | namespace audio |
|---|
| 41 | { |
|---|
| 42 | class AudioBuffer; |
|---|
| 43 | class AudioManager; |
|---|
| 44 | class AudioSource; |
|---|
| 45 | class AudioStream; |
|---|
| 46 | } |
|---|
| 47 | |
|---|
| 48 | //-----------------------------------------------------------------------// Warnings//----------------------------------------------------------------------- |
|---|
| 49 | #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC |
|---|
| 50 | |
|---|
| 51 | // set to 4: conversion from 'ogg_int64_t' to 'long', possible loss of data#pragma warning (4 : 4244)#endif |
|---|
| 52 | |
|---|
| 53 | #endif /* _AudioPrereqs_H__ */ |
|---|