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.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/music/music_driver.hpp b/src/music/music_driver.hpp
index be09d3ea2..10a99d275 100644
--- a/src/music/music_driver.hpp
+++ b/src/music/music_driver.hpp
@@ -14,6 +14,8 @@
#include "../driver.h"
+struct MusicSongInfo;
+
/** Driver for all music playback. */
class MusicDriver : public Driver {
public:
@@ -21,7 +23,7 @@ public:
* Play a particular song.
* @param filename The name of file with the song to play.
*/
- virtual void PlaySong(const char *filename) = 0;
+ virtual void PlaySong(const MusicSongInfo &song) = 0;
/**
* Stop playing the current song.