mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-16 00:25:06 +00:00
18 lines
355 B
C
18 lines
355 B
C
|
#pragma once
|
||
|
|
||
|
#include "basis/seadTypes.h"
|
||
|
|
||
|
namespace sead
|
||
|
{
|
||
|
class StreamSrc
|
||
|
{
|
||
|
public:
|
||
|
virtual u32 read(void* data, u32 size) = 0;
|
||
|
virtual u32 write(const void* data, u32 size) = 0;
|
||
|
virtual u32 skip(s32 offset) = 0;
|
||
|
virtual void rewind() = 0;
|
||
|
virtual bool isEOF() = 0;
|
||
|
virtual bool flush() { return true; }
|
||
|
};
|
||
|
} // namespace sead
|