Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2815 in orxonox.OLD for orxonox/branches/sound/src/sound_control.h


Ignore:
Timestamp:
Nov 11, 2004, 6:16:00 PM (21 years ago)
Author:
simon
Message:

branches/sound: made SoundControl singleton. Must be built via getObject()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/sound/src/sound_control.h

    r2793 r2815  
    77
    88 public:
    9   SoundControl ();
    10   ~SoundControl ();
     9  SoundControl* getObject();
    1110  void setNumberOfChannels(int number_of channels);
    1211  int playMod(char* filename);
     
    2322
    2423private:
    25   void postConstruction();
    26   SoundControl* singleton;
    27 
     24  void initialise();
     25  //SoundControl singleton object must be made via getObject()
     26  SoundControl();
     27  ~SoundControl()
    2828}
    2929
Note: See TracChangeset for help on using the changeset viewer.