diff options
author | rubidium <rubidium@openttd.org> | 2009-09-05 21:26:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-09-05 21:26:51 +0000 |
commit | bc5241600a33f7271a839105c4752ad24f202c1c (patch) | |
tree | 57ec42b3a8b93498e79f3fdc26ca3e10febdaee7 /src/music/extmidi.h | |
parent | 0be5e5935560de419283540ea6280acdff3dea9c (diff) | |
download | openttd-bc5241600a33f7271a839105c4752ad24f202c1c.tar.xz |
(svn r17428) -Codechange: add a function to get the name of a driver
Diffstat (limited to 'src/music/extmidi.h')
-rw-r--r-- | src/music/extmidi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/music/extmidi.h b/src/music/extmidi.h index b3df9eaea..260dbdeb8 100644 --- a/src/music/extmidi.h +++ b/src/music/extmidi.h @@ -35,6 +35,7 @@ public: /* virtual */ bool IsSongPlaying(); /* virtual */ void SetVolume(byte vol); + /* virtual */ const char *GetName() const { return "extmidi"; } }; class FMusicDriver_ExtMidi: public MusicDriverFactory<FMusicDriver_ExtMidi> { |