XPlor/libs/xassets/xsoundfileref.h
2025-09-07 12:36:08 -04:00

27 lines
501 B
C++

#ifndef XSOUNDFILEREF_H
#define XSOUNDFILEREF_H
#include "xasset.h"
#include "xloadedsound.h"
#include "xstreamedsound.h"
class XSoundFile;
class XSoundFileRef : public XAsset
{
public:
explicit XSoundFileRef();
XSoundFileRef(XSoundFile& aParent);
~XSoundFileRef();
virtual void ParseData(QDataStream* aStream) override;
virtual void Clear() override;
private:
XSoundFile* mParent;
XLoadedSound mLoadedSnd;
XStreamedSound mStreamSnd;
};
#endif // XSOUNDFILEREF_H