summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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;
};
}