forked from mirror/openmw-tes3mp
Modified Stream::PureFilter to allowed delayed setting of stream
This commit is contained in:
parent
687f20344e
commit
21d399cb81
1 changed files with 5 additions and 1 deletions
|
@ -15,9 +15,13 @@ class PureFilter : public Stream
|
||||||
StreamPtr src;
|
StreamPtr src;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
PureFilter() {}
|
||||||
PureFilter(StreamPtr _src)
|
PureFilter(StreamPtr _src)
|
||||||
: src(_src)
|
{ setStream(_src); }
|
||||||
|
|
||||||
|
void setStream(StreamPtr _src)
|
||||||
{
|
{
|
||||||
|
src = _src;
|
||||||
isSeekable = src->isSeekable;
|
isSeekable = src->isSeekable;
|
||||||
hasPosition = src->hasPosition;
|
hasPosition = src->hasPosition;
|
||||||
hasSize = src->hasSize;
|
hasSize = src->hasSize;
|
||||||
|
|
Loading…
Reference in a new issue