diff options
| author | Jonathan Wase <jonathan@familjenwase.se> | 2021-01-10 02:15:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-09 20:15:52 -0500 |
| commit | 82d5e0f796d9caa22e031df8dd2454c3989b936c (patch) | |
| tree | a8bc3251d24f2cdde6ed911d0a9ba5ccc337d27c /include/JSystem/JSupport/JSURandomInputStream/JSURandomInputStream.h | |
| parent | 8bd3d07e23ff7000de063008d73dba4a6d3434d1 (diff) | |
JKRAram and JKRAramStream (#80)
* before __register_global_object
* JKRThread::sThreadList, JKRHeap::sSystemHeap, etc.
* cleanup and started on JKRDvdArchive
* before changing JKRCompression
* more JKRDvdArchive, abs, and memset
* fixed JKRArchive::setExpandSize split
* JKRArchive::sCurrentDirID, JKRDvdFile::sDvdList, and matching JKRDvdFile constructors
* problems
* merge fixes and formatting
* updated clang version in clang-format-all to version 10
* Added OSPhysicalToCached and struct for global memory
* remove useless __attribute__
* changed from defines and macros to const variable and function
* changed FLAG_HAS to FLAG_ON
* JKRAram, linking problems
* fix JKRAram
* remove nonmatching stuff
* renamed static data
* more static class members
* JKRAramStream OK
* formatting
Co-authored-by: Julgodis <>
Co-authored-by: Pheenoh <pheenoh@gmail.com>
Diffstat (limited to 'include/JSystem/JSupport/JSURandomInputStream/JSURandomInputStream.h')
| -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 |
