mirror of
https://github.com/glest/glest-source.git
synced 2025-09-29 17:09:02 +02:00
Fixed the god-awful indentation
This commit is contained in:
@@ -15,26 +15,28 @@
|
||||
|
||||
using namespace Shared::Util;
|
||||
|
||||
namespace Shared{ namespace Sound{
|
||||
namespace Shared {
|
||||
namespace Sound {
|
||||
|
||||
// =====================================================
|
||||
// class SoundInterface
|
||||
// =====================================================
|
||||
// =====================================================
|
||||
// class SoundInterface
|
||||
// =====================================================
|
||||
|
||||
SoundInterface &SoundInterface::getInstance(){
|
||||
static SoundInterface soundInterface;
|
||||
return soundInterface;
|
||||
}
|
||||
SoundInterface &SoundInterface::getInstance() {
|
||||
static SoundInterface soundInterface;
|
||||
return soundInterface;
|
||||
}
|
||||
|
||||
void SoundInterface::setFactory(SoundFactory *soundFactory){
|
||||
this->soundFactory= soundFactory;
|
||||
}
|
||||
void SoundInterface::setFactory(SoundFactory *soundFactory) {
|
||||
this->soundFactory = soundFactory;
|
||||
}
|
||||
|
||||
SoundPlayer *SoundInterface::newSoundPlayer(){
|
||||
SoundPlayer *SoundInterface::newSoundPlayer() {
|
||||
|
||||
if(SystemFlags::getSystemSettingType(SystemFlags::debugSound).enabled) SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||
if (SystemFlags::getSystemSettingType(SystemFlags::debugSound).enabled) SystemFlags::OutputDebug(SystemFlags::debugSystem, "In [%s::%s %d]\n", __FILE__, __FUNCTION__, __LINE__);
|
||||
|
||||
return soundFactory->newSoundPlayer();
|
||||
}
|
||||
return soundFactory->newSoundPlayer();
|
||||
}
|
||||
|
||||
}}//end namespace
|
||||
}
|
||||
}//end namespace
|
||||
|
Reference in New Issue
Block a user