Fixed the god-awful indentation

This commit is contained in:
mathusummut
2018-05-06 00:01:36 +02:00
parent 643e3820f5
commit 35b7b1f1a6
459 changed files with 204893 additions and 217545 deletions

View File

@@ -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