mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 19:20:05 +00:00
Add play audio functionality to media manager
This commit is contained in:
parent
318f35aebd
commit
3ad3c98daf
2 changed files with 64 additions and 2 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <scwx/qt/types/media_types.hpp>
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <QObject>
|
||||
|
|
@ -20,6 +22,8 @@ public:
|
|||
explicit MediaManager();
|
||||
~MediaManager();
|
||||
|
||||
void Play(types::AudioFile media);
|
||||
|
||||
static std::shared_ptr<MediaManager> Instance();
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue