diff options
| author | Pheenoh <pheenoh@gmail.com> | 2021-01-10 01:24:52 -0500 |
|---|---|---|
| committer | Pheenoh <pheenoh@gmail.com> | 2021-01-10 01:24:52 -0500 |
| commit | b51b5abd1420d7ef914d97ac3be22333f08a0ac8 (patch) | |
| tree | ea553b428b1b1296a1ca9ec83b6f94e53ade915b /include/JSystem/JSupport/JSURandomInputStream | |
| parent | df361497c2ae736aba36cee1454bc8277bc5c4db (diff) | |
| parent | 82d5e0f796d9caa22e031df8dd2454c3989b936c (diff) | |
Merge branch 'master' of https://github.com/zeldaret/tp
Diffstat (limited to 'include/JSystem/JSupport/JSURandomInputStream')
| -rw-r--r-- | include/JSystem/JSupport/JSURandomInputStream/JSURandomInputStream.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/JSystem/JSupport/JSURandomInputStream/JSURandomInputStream.h b/include/JSystem/JSupport/JSURandomInputStream/JSURandomInputStream.h index 0caddd1743..b47c400a94 100644 --- a/include/JSystem/JSupport/JSURandomInputStream/JSURandomInputStream.h +++ b/include/JSystem/JSupport/JSURandomInputStream/JSURandomInputStream.h @@ -1,11 +1,20 @@ #ifndef __JSURANDOMINPUTSTREAM_H__ #define __JSURANDOMINPUTSTREAM_H__ +#include "JSystem/JSupport/JSUInputStream.h" #include "dolphin/types.h" -class JSURandomInputStream { +class JSURandomInputStream : public JSUInputStream { public: - void getAvailable(void) const; + JSURandomInputStream(); + virtual ~JSURandomInputStream(); + + /* vt[3] */ virtual s32 getAvailable() const; /* override */ + /* vt[4] */ virtual s32 skip(s32); /* override */ + /* vt[5] */ virtual s32 readData() = 0; + /* vt[6] */ virtual s32 getLength() const = 0; + /* vt[7] */ virtual s32 getPosition() const = 0; + /* vt[7] */ virtual s32 seekPos() = 0; }; #endif |
