1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#pragma once #include "common.h" #include "singletonManager.h" class cCustomSoundTrack : public base::cSingleton<cCustomSoundTrack> { public: bool m_bIsPlaying; cCustomSoundTrack(); bool IsPlaying() { #ifdef CUSTOM_SOUND_TRACK return m_bIsPlaying; #else return false; #endif } };