summaryrefslogtreecommitdiff
path: root/src/music/music_driver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/music/music_driver.hpp')
-rw-r--r--src/music/music_driver.hpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/music/music_driver.hpp b/src/music/music_driver.hpp
index 70a1e37a5..453d05102 100644
--- a/src/music/music_driver.hpp
+++ b/src/music/music_driver.hpp
@@ -41,25 +41,6 @@ public:
virtual void SetVolume(byte vol) = 0;
};
-/** Base of the factory for the music drivers. */
-class MusicDriverFactoryBase: public DriverFactoryBase {
-};
-
-/**
- * Factory for the music drivers.
- * @tparam T The type of the music factory to register.
- */
-template <class T>
-class MusicDriverFactory: public MusicDriverFactoryBase {
-public:
- 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();
-};
-
extern MusicDriver *_music_driver;
extern char *_ini_musicdriver;