src/sound/sound_driver.hpp
branchnoai
changeset 9641 855e32c08c9b
parent 9631 8a2d1c2ceb88
child 8771 f7ad4dba14bf
equal deleted inserted replaced
9640:494df85104a3 9641:855e32c08c9b
    12 };
    12 };
    13 
    13 
    14 template <class T>
    14 template <class T>
    15 class SoundDriverFactory: public SoundDriverFactoryBase {
    15 class SoundDriverFactory: public SoundDriverFactoryBase {
    16 public:
    16 public:
    17 	SoundDriverFactory() { this->RegisterDriver(((T *)this)->GetName(), Driver::DT_SOUND); }
    17 	SoundDriverFactory() { this->RegisterDriver(((T *)this)->GetName(), Driver::DT_SOUND, ((T *)this)->priority); }
    18 
    18 
    19 	/**
    19 	/**
    20 	 * Get the long, human readable, name for the Driver-class.
    20 	 * Get the long, human readable, name for the Driver-class.
    21 	 */
    21 	 */
    22 	const char *GetName();
    22 	const char *GetName();