Last change
on this file since 4195 was
4195,
checked in by bensch, 19 years ago
|
orxonox/branches/openAL: added the SingletonClass for the SoundEngine
|
File size:
472 bytes
|
Line | |
---|
1 | /*! |
---|
2 | \file sound_engine.h |
---|
3 | \brief Definition of the SoundEngine singleton Class |
---|
4 | |
---|
5 | */ |
---|
6 | |
---|
7 | #ifndef _SOUND_ENGINE_H |
---|
8 | #define _SOUND_ENGINE_H |
---|
9 | |
---|
10 | #include "base_object.h" |
---|
11 | |
---|
12 | // FORWARD DEFINITION |
---|
13 | |
---|
14 | //! A Class that handles audio via the openAudioLibrary |
---|
15 | class SoundEngine : public BaseObject { |
---|
16 | |
---|
17 | public: |
---|
18 | static SoundEngine* getInstance(void); |
---|
19 | virtual ~SoundEngine(void); |
---|
20 | |
---|
21 | private: |
---|
22 | SoundEngine(void); |
---|
23 | static SoundEngine* singletonRef; |
---|
24 | }; |
---|
25 | |
---|
26 | #endif /* _SOUND_ENGINE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.