Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 16, 2005, 1:39:12 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/openAL: added the SingletonClass for the SoundEngine

Location:
orxonox/branches/openAL/src/lib/sound
Files:
1 added
1 copied

Legend:

Unmodified
Added
Removed
  • orxonox/branches/openAL/src/lib/sound/sound_engine.h

    r4194 r4195  
    11/*!
    2     \file proto_singleton.h
    3     \brief Definition of the ... singleton Class
     2    \file sound_engine.h
     3    \brief Definition of the SoundEngine singleton Class
    44   
    55*/
    66
    7 #ifndef _PROTO_SINGLETON_H
    8 #define _PROTO_SINGLETON_H
     7#ifndef _SOUND_ENGINE_H
     8#define _SOUND_ENGINE_H
    99
    1010#include "base_object.h"
     
    1212// FORWARD DEFINITION
    1313
    14 //! A default singleton class.
    15 class ProtoSingleton : public BaseObject {
     14//! A Class that handles audio via the openAudioLibrary
     15class SoundEngine : public BaseObject {
    1616
    1717 public:
    18   static ProtoSingleton* getInstance(void);
    19   virtual ~ProtoSingleton(void);
     18  static SoundEngine* getInstance(void);
     19  virtual ~SoundEngine(void);
    2020
    2121 private:
    22   ProtoSingleton(void);
    23   static ProtoSingleton* singletonRef;
     22  SoundEngine(void);
     23  static SoundEngine* singletonRef;
    2424};
    2525
    26 #endif /* _PROTO_SINGLETON_H */
     26#endif /* _SOUND_ENGINE_H */
Note: See TracChangeset for help on using the changeset viewer.