sound_driver.hpp
00001
00002
00003 #ifndef SOUND_SOUND_DRIVER_HPP
00004 #define SOUND_SOUND_DRIVER_HPP
00005
00006 #include "../driver.h"
00007
00008 class SoundDriver: public Driver {
00009 };
00010
00011 class SoundDriverFactoryBase: public DriverFactoryBase {
00012 };
00013
00014 template <class T>
00015 class SoundDriverFactory: public SoundDriverFactoryBase {
00016 public:
00017 SoundDriverFactory() { this->RegisterDriver(((T *)this)->GetName(), Driver::DT_SOUND, ((T *)this)->priority); }
00018
00022 const char *GetName();
00023 };
00024
00025 extern SoundDriver *_sound_driver;
00026 extern char _ini_sounddriver[32];
00027
00028 #endif