overte-thingvellir/libraries/audio/src/Sound.h
2014-01-03 09:50:13 -08:00

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__) */