From 4d5dbf51707c42c24eeafdb65016b079c54adcf2 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 2 May 2011 16:14:23 +0000 Subject: (svn r22410) -Document: some more bits ;) --- src/sound/sound_driver.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/sound/sound_driver.hpp') diff --git a/src/sound/sound_driver.hpp b/src/sound/sound_driver.hpp index c8225922c..56664e6ad 100644 --- a/src/sound/sound_driver.hpp +++ b/src/sound/sound_driver.hpp @@ -14,15 +14,21 @@ #include "../driver.h" +/** Base for all sound drivers. */ class SoundDriver: public Driver { public: - /* Called once every tick */ + /** Called once every tick */ virtual void MainLoop() {} }; +/** Base of the factory for the sound drivers. */ class SoundDriverFactoryBase: public DriverFactoryBase { }; +/** + * Factory for the sound drivers. + * @tparam T The type of the sound factory to register. + */ template class SoundDriverFactory: public SoundDriverFactoryBase { public: -- cgit v1.2.3-70-g09d2