1 /* ScummVM - Graphic Adventure Engine 2 * 3 * ScummVM is the legal property of its developers, whose names 4 * are too numerous to list here. Please refer to the COPYRIGHT 5 * file distributed with this source distribution. 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License 9 * as published by the Free Software Foundation; either version 2 10 * of the License, or (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 * 21 */ 22 23 #ifndef NUVIE_SOUND_SONG_H 24 #define NUVIE_SOUND_SONG_H 25 26 #include "ultima/nuvie/sound/sound.h" 27 28 namespace Ultima { 29 namespace Nuvie { 30 31 class Song : public Sound { 32 public: 33 Init(const char * filename)34 virtual bool Init(const char *filename) { 35 return false; 36 } 37 bool Play(bool looping = false) override { 38 return false; 39 } Stop()40 bool Stop() override { 41 return false; 42 } SetVolume(uint8 volume)43 bool SetVolume(uint8 volume) override { 44 return false; 45 } FadeOut(float seconds)46 bool FadeOut(float seconds) override { 47 return false; 48 } 49 SetName(const char * name)50 void SetName(const char *name) { 51 if (name) m_Filename = name; // SB-X 52 } 53 private: 54 55 }; 56 57 } // End of namespace Nuvie 58 } // End of namespace Ultima 59 60 #endif 61