summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-08-20 17:14:02 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-08-20 18:25:17 (GMT)
commitb3dc968b7c424351bac87bfed42681bd0500d86c (patch)
tree1f3ec7ee8f8b3e9d3e274ba77684b8606dc96377 /Swift/QtUI/QtSoundPlayer.h
parent5fa4903a7c1c7a7733afdd1d6c4c5dcccec97b19 (diff)
downloadswift-b3dc968b7c424351bac87bfed42681bd0500d86c.zip
swift-b3dc968b7c424351bac87bfed42681bd0500d86c.tar.bz2
Don't bundle sounds.
Diffstat (limited to 'Swift/QtUI/QtSoundPlayer.h')
-rw-r--r--Swift/QtUI/QtSoundPlayer.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/Swift/QtUI/QtSoundPlayer.h b/Swift/QtUI/QtSoundPlayer.h
index 89e2935..21ad8bb 100644
--- a/Swift/QtUI/QtSoundPlayer.h
+++ b/Swift/QtUI/QtSoundPlayer.h
@@ -11,11 +11,20 @@
#include <QObject>
namespace Swift {
+ class ApplicationPathProvider;
+ class String;
+
class QtSoundPlayer : public QObject, public SoundPlayer {
Q_OBJECT
public:
- QtSoundPlayer();
+ QtSoundPlayer(ApplicationPathProvider* applicationPathProvider);
void playSound(SoundEffect sound);
+
+ private:
+ void playSound(const String& soundResource);
+
+ private:
+ ApplicationPathProvider* applicationPathProvider;
};
}