diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-29 22:00:35 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-29 22:00:35 +0000 |
commit | 5352c44d1ab542c64c421afcc690b200f7231a9d (patch) | |
tree | 4695c79a788c3ab9daeaf2972052a6ea9821bf13 /src/resources/soundeffect.h | |
parent | 52a7af6227d0b2ff94ff2c8fecd708d4d6a71466 (diff) | |
download | mana-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/soundeffect.h')
-rw-r--r-- | src/resources/soundeffect.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/resources/soundeffect.h b/src/resources/soundeffect.h index 69d9823d..bd1c3c00 100644 --- a/src/resources/soundeffect.h +++ b/src/resources/soundeffect.h @@ -48,7 +48,8 @@ class SoundEffect : public Resource * @return <code>NULL</code> if the an error occurred, a valid pointer * otherwise. */ - static SoundEffect *load(void* buffer, unsigned int bufferSize); + static SoundEffect *load(void* buffer, unsigned int bufferSize, + const std::string &idPath); /** * Plays the sample. @@ -65,7 +66,7 @@ class SoundEffect : public Resource /** * Constructor. */ - SoundEffect(Mix_Chunk *soundEffect); + SoundEffect(const std::string &idPath, Mix_Chunk *soundEffect); Mix_Chunk *soundEffect; }; |