feature/test #9
27
libs/xassets/xstreamsourceinfo.cpp
Normal file
27
libs/xassets/xstreamsourceinfo.cpp
Normal file
@ -0,0 +1,27 @@
|
||||
#include "xstreamsourceinfo.h"
|
||||
|
||||
XStreamSourceInfo::XStreamSourceInfo()
|
||||
: XAsset()
|
||||
, mStream(0)
|
||||
, mOffset(0)
|
||||
, mType(0)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
XStreamSourceInfo::~XStreamSourceInfo()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void XStreamSourceInfo::Clear()
|
||||
{
|
||||
mStream = 0;
|
||||
mOffset = 0;
|
||||
mType = 0;
|
||||
}
|
||||
|
||||
void XStreamSourceInfo::ParseData(QDataStream *aStream)
|
||||
{
|
||||
|
||||
}
|
||||
21
libs/xassets/xstreamsourceinfo.h
Normal file
21
libs/xassets/xstreamsourceinfo.h
Normal file
@ -0,0 +1,21 @@
|
||||
#ifndef XSTREAMSOURCEINFO_H
|
||||
#define XSTREAMSOURCEINFO_H
|
||||
|
||||
#include "xasset.h"
|
||||
|
||||
class XStreamSourceInfo : public XAsset
|
||||
{
|
||||
public:
|
||||
XStreamSourceInfo();
|
||||
~XStreamSourceInfo();
|
||||
|
||||
virtual void Clear() override;
|
||||
virtual void ParseData(QDataStream* aStream) override;
|
||||
|
||||
private:
|
||||
quint16 mStream;
|
||||
quint16 mOffset;
|
||||
uint mType;
|
||||
};
|
||||
|
||||
#endif // XSTREAMSOURCEINFO_H
|
||||
Loading…
x
Reference in New Issue
Block a user