mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 15:01:53 -04:00
c70d485d35
i previously had a bad habit of using double underscores in include guard macro names, which are implementation-reserved per the C++98 standard (see 17.4.3.1.2 Global names). Co-authored-by: Pheenoh <pheenoh@gmail.com>
21 lines
597 B
C++
21 lines
597 B
C++
#ifndef JSURANDOMINPUTSTREAM_H_
|
|
#define JSURANDOMINPUTSTREAM_H_
|
|
|
|
#include "JSystem/JSupport/JSUInputStream.h"
|
|
#include "dolphin/types.h"
|
|
|
|
class JSURandomInputStream : public JSUInputStream {
|
|
public:
|
|
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
|