equal
deleted
inserted
replaced
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(); |