HUGO: Fix warning about hidden pause() method from parent class

This commit is contained in:
Max Horn 2011-12-12 16:22:55 +01:00
parent 30909b1ae4
commit f485450758

View File

@ -43,6 +43,12 @@ public:
void pause(bool p);
void play(uint8 *stream, uint16 size);
// The following line prevents compiler warnings about hiding the pause()
// method from the parent class.
// FIXME: Maybe the pause(bool p) method should be removed and the
// pause/resume methods of the parent class be used instead?
virtual void pause() { Audio::MidiPlayer::pause(); }
uint32 getBaseTempo();
// Overload Audio::MidiPlayer method