summaryrefslogtreecommitdiff
path: root/src/resources/music.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-29 22:00:35 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-29 22:00:35 +0000
commit5352c44d1ab542c64c421afcc690b200f7231a9d (patch)
tree4695c79a788c3ab9daeaf2972052a6ea9821bf13 /src/resources/music.h
parent52a7af6227d0b2ff94ff2c8fecd708d4d6a71466 (diff)
downloadmana-5352c44d1ab542c64c421afcc690b200f7231a9d.tar.gz
mana-5352c44d1ab542c64c421afcc690b200f7231a9d.tar.bz2
mana-5352c44d1ab542c64c421afcc690b200f7231a9d.tar.xz
mana-5352c44d1ab542c64c421afcc690b200f7231a9d.zip
Clean up of the ConfigListener and Resource interfaces.
Diffstat (limited to 'src/resources/music.h')
-rw-r--r--src/resources/music.h4
1 files changed, 2 insertions, 2 deletions
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 <code>NULL</code> 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;