src/sound/sound_driver.hpp
changeset 7689 011afceb33b5
parent 7666 a5fccd76176a
child 8771 f7ad4dba14bf
equal deleted inserted replaced
7688:76710ad9f67c 7689:011afceb33b5
    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();