Changeset 2838 in orxonox.OLD for orxonox/branches/sound/src/sound_control.h
- Timestamp:
- Nov 12, 2004, 2:41:26 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/sound/src/sound_control.h
r2815 r2838 7 7 8 8 public: 9 SoundControl* getObject(); 9 static SoundControl* getInstance(); 10 static void deleteInstance(); 10 11 void setNumberOfChannels(int number_of channels); 11 12 int playMod(char* filename); … … 21 22 void trackSelect(); 22 23 24 protected: 25 void initialise(); 26 SoundControl(); 27 ~SoundControl(); 28 23 29 private: 24 void initialise(); 25 //SoundControl singleton object must be made via getObject() 26 SoundControl(); 27 ~SoundControl() 30 static SoundControl* instance; 31 28 32 } 29 33
Note: See TracChangeset
for help on using the changeset viewer.