File diff r7192:543ddd0c4867 → r7193:2cae66b95848
src/music/music_driver.hpp
Show inline comments
 
@@ -19,13 +19,13 @@ public:
 
class MusicDriverFactoryBase: public DriverFactoryBase {
 
};
 

	
 
template <class T>
 
class MusicDriverFactory: public MusicDriverFactoryBase {
 
public:
 
	MusicDriverFactory() { this->RegisterDriver(((T *)this)->GetName(), Driver::DT_MUSIC); }
 
	MusicDriverFactory() { this->RegisterDriver(((T *)this)->GetName(), Driver::DT_MUSIC, ((T *)this)->priority); }
 

	
 
	/**
 
	 * Get the long, human readable, name for the Driver-class.
 
	 */
 
	const char *GetName();
 
};