Files
dusklight/libs/JSystem/include/JSystem/JSupport/JSURandomOutputStream.h
T
Luke Street 4df8ccc871 Reorganize library code into libs/ (#3119)
* Reorganize files into libs/{dolphin,JSystem,PowerPC_EABI_Support,revolution,TRK_MINNOW_DOLPHIN}

* Update configure.py and project.py for new libs structure

* Refactor `#include <dolphin/x.h>` -> `<x.h>`

* Remove `__REVOLUTION_SDK__` forwards from dolphin

* Fix dolphin/ references in revolution

* Wrap `#include <dolphin.h>` in `!__REVOLUTION_SDK__`

* Always build TRK against dolphin headers

* Resolve revolution SDK header resolution issues
2026-03-01 14:35:36 -08:00

24 lines
651 B
C++

#ifndef JSURANDOMOUTPUTSTREAM_H_
#define JSURANDOMOUTPUTSTREAM_H_
#include "JSystem/JSupport/JSUOutputStream.h"
/**
* @ingroup jsystem-jsupport
*
*/
class JSURandomOutputStream : public JSUOutputStream {
public:
JSURandomOutputStream() {}
virtual ~JSURandomOutputStream() {}
/* vt[4] */ virtual s32 writeData(const void*, s32) = 0;
/* vt[5] */ virtual s32 getLength() const = 0;
/* vt[6] */ virtual s32 getPosition() const = 0;
/* vt[7] */ virtual s32 seek(s32, JSUStreamSeekFrom);
/* vt[8] */ virtual s32 getAvailable() const;
/* vt[9] */ virtual s32 seekPos(s32, JSUStreamSeekFrom) = 0;
}; // Size = 0x8
#endif