Changeset 3196 for code/trunk/src/orxonox/sound/SoundManager.h
- Timestamp:
- Jun 20, 2009, 9:20:47 AM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/pch (added) merged: 3114-3118,3124-3125,3127-3131,3133,3138-3194
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/sound/SoundManager.h
r3078 r3196 25 25 * ... 26 26 */ 27 #ifndef _SOUNDMANGER_H__ 28 #define _SOUNDMANGER_H__ 29 30 #include <AL/al.h> 31 #include <AL/alc.h> 27 #ifndef _SoundManager_H__ 28 #define _SoundManager_H__ 32 29 33 30 #include "OrxonoxPrereqs.h" 34 #include "orxonox/objects/Tickable.h" 31 32 #include <cassert> 33 #include <list> 34 #include "interfaces/Tickable.h" 35 35 36 36 namespace orxonox … … 49 49 void addSound(SoundBase* sound); 50 50 void removeSound(SoundBase* sound); 51 v irtual void tick(float dt);51 void tick(float dt); 52 52 bool isSoundAvailable(); 53 54 static SoundManager& getInstance() { assert(singletonRef_s); return *singletonRef_s; } 53 55 54 56 private: … … 58 60 bool soundavailable_; 59 61 62 static SoundManager* singletonRef_s; 60 63 }; // class SoundManager 61 64 } // namespace orxonox 62 65 63 #endif / / _SOUNDMANAGER_H__66 #endif /* _SoundManager_H__ */
Note: See TracChangeset
for help on using the changeset viewer.