Index: code/branches/sound4/src/orxonox/sound/SoundPrereqs.h
===================================================================
--- code/branches/sound4/src/orxonox/OrxonoxPrereqs.h	(revision 6434)
+++ code/branches/sound4/src/orxonox/sound/SoundPrereqs.h	(revision 6435)
@@ -30,32 +30,11 @@
 @file
 @brief
-    Shared library macros, enums, constants and forward declarations for the orxonox library
+    Enums, constants, functions and forward declarations for the sound files.
 */
 
-#ifndef _OrxonoxPrereqs_H__
-#define _OrxonoxPrereqs_H__
+#ifndef _SoundPrereqs_H__
+#define _SoundPrereqs_H__
 
-#include "OrxonoxConfig.h"
-#include "tools/ToolsPrereqs.h"
-
-//-----------------------------------------------------------------------
-// Shared library settings
-//-----------------------------------------------------------------------
-
-#if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_STATIC_BUILD)
-#  ifdef ORXONOX_SHARED_BUILD
-#    define _OrxonoxExport __declspec(dllexport)
-#  else
-#    if defined( __MINGW32__ )
-#      define _OrxonoxExport
-#    else
-#      define _OrxonoxExport __declspec(dllimport)
-#    endif
-#  endif
-#elif defined ( ORXONOX_GCC_VISIBILITY )
-#  define _OrxonoxExport  __attribute__ ((visibility("default")))
-#else
-#  define _OrxonoxExport
-#endif
+#include "OrxonoxPrereqs.h"
 
 //-----------------------------------------------------------------------
@@ -65,89 +44,4 @@
 namespace orxonox
 {
-    class CameraManager;
-    class Level;
-    class LevelManager;
-    class PawnManager;
-    class PlayerManager;
-    class Radar;
-    class Scene;
-
-    // collisionshapes
-    class CollisionShape;
-    class CompoundCollisionShape;
-    class WorldEntityCollisionShape;
-
-    // controllers
-    class AIController;
-    class ArtificialController;
-    class Controller;
-    class HumanController;
-    class ScriptController;
-    class WaypointController;
-    class WaypointPatrolController;
-
-    // gametypes
-    class Asteroids;
-    class Deathmatch;
-    class Gametype;
-    class TeamBaseMatch;
-    class TeamDeathmatch;
-    class UnderAttack;
-
-    // graphics
-    class Backlight;
-    class Billboard;
-    class BlinkingBillboard;
-    class Camera;
-    class FadingBillboard;
-    class GlobalShader;
-    class Light;
-    class Model;
-    class ParticleEmitter;
-    class ParticleSpawner;
-
-    // infos
-    class Bot;
-    class GametypeInfo;
-    class HumanPlayer;
-    class Info;
-    class PlayerInfo;
-
-    // interfaces
-    class GametypeMessageListener;
-    class NotificationListener;
-    class PlayerTrigger;
-    class RadarListener;
-    class RadarViewable;
-    class Rewardable;
-    class TeamColourable;
-
-    // items
-    class Engine;
-    class Item;
-    class MultiStateEngine;
-
-    // overlays
-    class InGameConsole;
-    class Map;
-    class OrxonoxOverlay;
-    class OverlayGroup;
-
-    // pickup
-    class BaseItem;
-    class DroppedItem;
-    class EquipmentItem;
-    class ModifierPickup;
-    class PassiveItem;
-    class PickupCollection;
-    class PickupInventory;
-    class PickupSpawner;
-    class UsableItem;
-    // pickup, items
-    class HealthImmediate;
-    class HealthUsable;
-    class Jump;
-
-    //sound
     class AmbientSound;
     class BaseSound;
@@ -156,57 +50,6 @@
     class SoundStreamer;
     class WorldSound;
-
-    // weaponsystem
-    class DefaultWeaponmodeLink;
-    class Munition;
-    class Weapon;
-    class WeaponMode;
-    class WeaponPack;
-    class WeaponSet;
-    class WeaponSlot;
-    class WeaponSystem;
-
-    // worldentities
-    class BigExplosion;
-    class CameraPosition;
-    class ControllableEntity;
-    class EffectContainer;
-    class ExplosionChunk;
-    class MobileEntity;
-    class MovableEntity;
-    class SpawnPoint;
-    class StaticEntity;
-    class TeamSpawnPoint;
-    class WorldEntity;
-    class Rocket;
-    // worldentities, pawns
-    class Destroyer;
-    class Pawn;
-    class SpaceShip;
-    class Spectator;
-    class TeamBaseMatchBase;
 }
 
-// Bullet Physics Engine
-class btTransform;
-class btVector3;
-
-class btRigidBody;
-class btCollisionObject;
-class btGhostObject;
-class btManifoldPoint;
-
-class btCollisionShape;
-class btSphereShape;
-class btCompoundShape;
-class btStaticPlaneShape;
-
-class btDiscreteDynamicsWorld;
-class bt32BitAxisSweep3;
-class btDefaultCollisionConfiguration;
-class btCollisionDispatcher;
-class btSequentialImpulseConstraintSolver;
-
-// ALUT
 typedef struct ALCcontext_struct ALCcontext;
 typedef struct ALCdevice_struct ALCdevice;
@@ -215,3 +58,13 @@
 typedef int ALenum;
 
-#endif /* _OrxonoxPrereqs_H__ */
+//-----------------------------------------------------------------------
+// Helper functions
+//-----------------------------------------------------------------------
+
+namespace orxonox
+{
+    //! Returns an error string for an AL error code
+    _OrxonoxExport std::string getALErrorString(ALenum error);
+}
+
+#endif /* _SoundPrereqs_H__ */
