23 lines
416 B
C++
23 lines
416 B
C++
#ifndef XSOUNDFILEREF_H
|
|
#define XSOUNDFILEREF_H
|
|
|
|
#include "xasset.h"
|
|
#include "xloadedsound.h"
|
|
#include "xstreamedsound.h"
|
|
|
|
class XSoundFileRef : public XAsset
|
|
{
|
|
public:
|
|
explicit XSoundFileRef();
|
|
~XSoundFileRef();
|
|
|
|
virtual void ParseData(QDataStream* aStream) override;
|
|
virtual void Clear() override;
|
|
|
|
private:
|
|
XLoadedSound *mLoadSnd;
|
|
XStreamedSound mStreamSnd;
|
|
};
|
|
|
|
#endif // XSOUNDFILEREF_H
|