Files
tp/include/JSystem/JSupport/JSUInputStream.h
T

23 lines
520 B
C++
Raw Normal View History

2021-03-28 22:49:05 +02:00
#ifndef JSUINPUTSTREAM_H
#define JSUINPUTSTREAM_H
2021-03-15 07:12:44 +01:00
2021-05-03 02:03:24 +02:00
#include "JSystem/JSupport/JSUIosBase.h"
2021-03-15 07:12:44 +01:00
#include "dolphin/types.h"
2021-05-03 02:03:24 +02:00
struct JSUStreamSeekFrom {};
class JSUInputStream : public JSUIosBase {
public:
JSUInputStream();
virtual ~JSUInputStream();
/* vt[3] */ virtual s32 getAvailable() const = 0;
/* vt[4] */ virtual s32 skip(s32);
/* vt[5] */ virtual s32 readData(void*, s32) = 0;
// TODO: return value probably wrong
/* 802DC298 */ void read(void*, s32);
};
2021-03-28 22:49:05 +02:00
#endif /* JSUINPUTSTREAM_H */