aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/sound.h')
-rw-r--r--engines/sherlock/sound.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/engines/sherlock/sound.h b/engines/sherlock/sound.h
index f3b34345ef..b1759a9c8e 100644
--- a/engines/sherlock/sound.h
+++ b/engines/sherlock/sound.h
@@ -23,15 +23,26 @@
#ifndef SHERLOCK_SOUND_H
#define SHERLOCK_SOUND_H
+#include "common/scummsys.h"
+#include "common/str.h"
+
namespace Sherlock {
+class SherlockEngine;
+
class Sound {
-public
- void playSound(const char *name);
- void cacheSound(const char *name, int index);
+private:
+ SherlockEngine *_vm;
+public:
+ Sound(SherlockEngine *vm);
+
+ void playSound(const Common::String &name);
+ void cacheSound(const Common::String &name, int index);
void playCachedSound(int index);
void clearCache();
+ void playMusic(const Common::String &name);
+ void stopMusic();
};
} // End of namespace Sherlock