From 5352c44d1ab542c64c421afcc690b200f7231a9d Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Mon, 29 Aug 2005 22:00:35 +0000 Subject: Clean up of the ConfigListener and Resource interfaces. --- src/resources/music.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/music.h') diff --git a/src/resources/music.h b/src/resources/music.h index b8d493e2..4858eb86 100644 --- a/src/resources/music.h +++ b/src/resources/music.h @@ -48,7 +48,7 @@ class Music : public Resource * @return NULL if the an error occurred, a valid pointer * otherwise. */ - static Music *load(void* buffer, unsigned int bufferSize); + static Music *load(void* buffer, unsigned int bufferSize, const std::string &idPath); /** * Plays the music. @@ -72,7 +72,7 @@ class Music : public Resource /** * Constructor. */ - Music(Mix_Chunk *music); + Music(const std::string &idPath, Mix_Chunk *music); //Mix_Music *music; Mix_Chunk *music; -- cgit v1.2.3-70-g09d2