summaryrefslogtreecommitdiff
path: root/src/sound/win32_s.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-09-05 21:26:51 +0000
committerrubidium <rubidium@openttd.org>2009-09-05 21:26:51 +0000
commitbc5241600a33f7271a839105c4752ad24f202c1c (patch)
tree57ec42b3a8b93498e79f3fdc26ca3e10febdaee7 /src/sound/win32_s.h
parent0be5e5935560de419283540ea6280acdff3dea9c (diff)
downloadopenttd-bc5241600a33f7271a839105c4752ad24f202c1c.tar.xz
(svn r17428) -Codechange: add a function to get the name of a driver
Diffstat (limited to 'src/sound/win32_s.h')
-rw-r--r--src/sound/win32_s.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sound/win32_s.h b/src/sound/win32_s.h
index 0659ead34..c75d07594 100644
--- a/src/sound/win32_s.h
+++ b/src/sound/win32_s.h
@@ -19,6 +19,7 @@ public:
/* virtual */ const char *Start(const char * const *param);
/* virtual */ void Stop();
+ /* virtual */ const char *GetName() const { return "win32"; }
};
class FSoundDriver_Win32: public SoundDriverFactory<FSoundDriver_Win32> {