summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtSoundPlayer.h')
-rw-r--r--Swift/QtUI/QtSoundPlayer.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/Swift/QtUI/QtSoundPlayer.h b/Swift/QtUI/QtSoundPlayer.h
index b9109a7..a75f042 100644
--- a/Swift/QtUI/QtSoundPlayer.h
+++ b/Swift/QtUI/QtSoundPlayer.h
@@ -4,22 +4,12 @@
#include <QObject>
-namespace Phonon {
- class AudioOutput;
- class MediaObject;
-}
-
namespace Swift {
class QtSoundPlayer : public QObject, public SoundPlayer {
- Q_OBJECT
+ Q_OBJECT
public:
QtSoundPlayer();
- ~QtSoundPlayer();
+
void playSound(SoundEffect sound);
- private:
- Phonon::AudioOutput* audioOutput_;
- Phonon::MediaObject* messageReceived_;
- private slots:
- void handleFinished();
};
}