aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordhewg2011-03-04 20:17:17 +0100
committerdhewg2011-03-04 21:31:14 +0100
commit12a561f119eef769d6d37c2a099b235357138ab4 (patch)
treee920b9d4fe2fe6d41cc563d56ebc39108195c3bf
parent03347a25e148e264383a8139c9b5c0be0d7981fa (diff)
downloadscummvm-rg350-12a561f119eef769d6d37c2a099b235357138ab4.tar.gz
scummvm-rg350-12a561f119eef769d6d37c2a099b235357138ab4.tar.bz2
scummvm-rg350-12a561f119eef769d6d37c2a099b235357138ab4.zip
GROOVIE: Mark overwritten members as virtual
-rw-r--r--engines/groovie/music.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/groovie/music.h b/engines/groovie/music.h
index 74bb6f98e5..5974559c53 100644
--- a/engines/groovie/music.h
+++ b/engines/groovie/music.h
@@ -94,14 +94,14 @@ public:
~MusicPlayerMidi();
// MidiDriver interface
- int open();
- void close();
- void send(uint32 b);
- void metaEvent(byte type, byte *data, uint16 length);
- void setTimerCallback(void *timer_param, Common::TimerManager::TimerProc timer_proc);
- uint32 getBaseTempo();
- MidiChannel *allocateChannel();
- MidiChannel *getPercussionChannel();
+ virtual int open();
+ virtual void close();
+ virtual void send(uint32 b);
+ virtual void metaEvent(byte type, byte *data, uint16 length);
+ virtual void setTimerCallback(void *timer_param, Common::TimerManager::TimerProc timer_proc);
+ virtual uint32 getBaseTempo();
+ virtual MidiChannel *allocateChannel();
+ virtual MidiChannel *getPercussionChannel();
private:
// Channel volumes
@@ -115,7 +115,7 @@ protected:
MidiParser *_midiParser;
MidiDriver *_driver;
- void onTimerInternal();
+ virtual void onTimerInternal();
void updateVolume();
void unload();