mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
28 lines
547 B
C++
28 lines
547 B
C++
//
|
|
// Sound.h
|
|
// hifi
|
|
//
|
|
// Created by Stephen Birarda on 1/2/2014.
|
|
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved.
|
|
//
|
|
|
|
#ifndef __hifi__Sound__
|
|
#define __hifi__Sound__
|
|
|
|
#include <QtCore/QObject>
|
|
|
|
class QNetworkReply;
|
|
|
|
class Sound : public QObject {
|
|
Q_OBJECT
|
|
public:
|
|
Sound(const QUrl& sampleURL, QObject* parent = 0);
|
|
|
|
const QByteArray& getByteArray() { return _byteArray; }
|
|
private:
|
|
QByteArray _byteArray;
|
|
private slots:
|
|
void replyFinished(QNetworkReply* reply);
|
|
};
|
|
|
|
#endif /* defined(__hifi__Sound__) */
|