diff options
author | rubidium <rubidium@openttd.org> | 2011-05-02 16:14:23 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-05-02 16:14:23 +0000 |
commit | 4d5dbf51707c42c24eeafdb65016b079c54adcf2 (patch) | |
tree | 0197dcc17f4a8411ecea2223f356019c902fe7b9 /src/sound/null_s.h | |
parent | e9837ff1ec1326aec622366ae29ff1aa81581daf (diff) | |
download | openttd-4d5dbf51707c42c24eeafdb65016b079c54adcf2.tar.xz |
(svn r22410) -Document: some more bits ;)
Diffstat (limited to 'src/sound/null_s.h')
-rw-r--r-- | src/sound/null_s.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sound/null_s.h b/src/sound/null_s.h index 34f12e70e..5951842cb 100644 --- a/src/sound/null_s.h +++ b/src/sound/null_s.h @@ -14,6 +14,7 @@ #include "sound_driver.hpp" +/** Implementation of the null sound driver. */ class SoundDriver_Null: public SoundDriver { public: /* virtual */ const char *Start(const char * const *param) { return NULL; } @@ -22,6 +23,7 @@ public: /* virtual */ const char *GetName() const { return "null"; } }; +/** Factory for the null sound driver. */ class FSoundDriver_Null: public SoundDriverFactory<FSoundDriver_Null> { public: static const int priority = 1; |