#ifndef QUESTPLAYSOUNDEVENT_H #define QUESTPLAYSOUNDEVENT_H #include #include #include "qw_abstractsoundevent.h" ///////////////////////////////////////////////////////////////// //// DOESN'T WORK! Has to be reworked in master-merge 1.2 //// https://trello.com/c/KFUhEbYh/62-reimplement-sound-system class QSoundEffect; class QWPlaySoundEvent : public QWAbstractSoundEvent { private: QMediaContent *media_sound; public: explicit QWPlaySoundEvent(const QString &path); virtual ~QWPlaySoundEvent() override {} void execute() override; //////////////////////// void writeToJson(QJsonObject &event_data) override; }; #endif // QUESTPLAYSOUNDEVENT_H