From ec559360ab48b2c1044dd36ae54e01d9a180055c Mon Sep 17 00:00:00 2001 From: strangerke Date: Fri, 18 Feb 2011 22:24:32 +0100 Subject: HUGO: Move several short function bodies from headers to cpp files --- engines/hugo/sound.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'engines/hugo/sound.h') diff --git a/engines/hugo/sound.h b/engines/hugo/sound.h index 1b29ffcef9..49e78a4aeb 100644 --- a/engines/hugo/sound.h +++ b/engines/hugo/sound.h @@ -45,15 +45,14 @@ public: MidiPlayer(MidiDriver *driver); ~MidiPlayer(); - bool isPlaying() { return _isPlaying; } - - int getVolume() { return _masterVolume; } + bool isPlaying() const; + int getVolume() const; void adjustVolume(int diff); void pause(bool p); void play(uint8 *stream, uint16 size); void setChannelVolume(int channel); - void setLooping(bool loop) { _isLooping = loop; } + void setLooping(bool loop); void setVolume(int volume); void stop(); void syncVolume(); @@ -62,15 +61,15 @@ public: // MidiDriver interface int open(); - MidiChannel *allocateChannel() { return 0; } - MidiChannel *getPercussionChannel() { return 0; } + MidiChannel *allocateChannel(); + MidiChannel *getPercussionChannel(); void close(); void metaEvent(byte type, byte *data, uint16 length); void send(uint32 b); void setTimerCallback(void *timerParam, void (*timerProc)(void *)) { } - uint32 getBaseTempo() { return _driver ? _driver->getBaseTempo() : 0; } + uint32 getBaseTempo(); private: static void timerCallback(void *p); -- cgit v1.2.3