diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-06-28 09:41:38 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-06-28 09:41:38 (GMT) |
commit | 1231acac77f2811a94f9bc83e38abb8ed85468b3 (patch) | |
tree | c5c6e99544750d13ccc41717f0f6a28694028582 /Swift/QtUI/QtSoundPlayer.h | |
parent | e2d9f9e47056a41d5e5a67ea3130ccdd860a06ed (diff) | |
download | swift-contrib-1231acac77f2811a94f9bc83e38abb8ed85468b3.zip swift-contrib-1231acac77f2811a94f9bc83e38abb8ed85468b3.tar.bz2 |
Moving resources into Swift/ and starting on Sound.
Diffstat (limited to 'Swift/QtUI/QtSoundPlayer.h')
-rw-r--r-- | Swift/QtUI/QtSoundPlayer.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Swift/QtUI/QtSoundPlayer.h b/Swift/QtUI/QtSoundPlayer.h new file mode 100644 index 0000000..e0ccf18 --- /dev/null +++ b/Swift/QtUI/QtSoundPlayer.h @@ -0,0 +1,21 @@ +#pragma once + +#include "Swift/Controllers/SoundPlayer.h" + + +namespace Phonon { + class AudioOutput; + class MediaObject; +} + +namespace Swift { + class QtSoundPlayer : public SoundPlayer{ + public: + QtSoundPlayer(); + ~QtSoundPlayer(); + void playSound(SoundEffect sound); + private: + Phonon::AudioOutput* audioOutput_; + Phonon::MediaObject* messageReceived_; + }; +} |