summaryrefslogtreecommitdiff
path: root/src/resources/soundeffect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/soundeffect.h')
-rw-r--r--src/resources/soundeffect.h5
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;
};