4
0
mirror of https://github.com/QuasarApp/SoundBand.git synced 2025-05-14 07:59:34 +00:00
2017-12-14 10:47:50 +03:00

20 lines
331 B
C++

#ifndef PLAYER_H
#define PLAYER_H
#include <QMediaPlayer>
class Player : public QMediaPlayer
{
Q_OBJECT
private:
QString buffer;
public:
Player(const QString& bufferFile, QObject *parent = Q_NULLPTR, Flags flags = Flags());
bool setMediaFromBytes(const QByteArray& array);
~Player();
};
#endif // PLAYER_H