Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JSUFileStream.h
Go to the documentation of this file.
1
#ifndef JSUFILESTREAM_H
2
#define JSUFILESTREAM_H
3
4
#include "
JSystem/JSupport/JSURandomInputStream.h
"
5
6
class
JKRFile
;
7
12
class
JSUFileInputStream
:
public
JSURandomInputStream
{
13
public
:
14
virtual
~JSUFileInputStream
() {}
15
16
// TODO: fix return values
17
/* 802DC638 */
JSUFileInputStream
(
JKRFile
*);
18
/* 802DC67C */
u32
readData
(
void
*,
s32
);
19
/* 802DC74C */
s32
seekPos
(
s32
,
JSUStreamSeekFrom
);
20
/* 802DC82C */
s32
getLength
()
const
;
21
/* 802DC85C */
s32
getPosition
()
const
;
22
23
private
:
24
/* 0x08 */
JKRFile
*
mFile
;
25
/* 0x0C */
s32
mPosition
;
26
};
// Size = 0x10
27
28
#endif
/* JSUFILESTREAM_H */
JSUStreamSeekFrom
JSUStreamSeekFrom
Definition
JSUInputStream.h:6
JSURandomInputStream.h
JKRFile
Definition
JKRFile.h:10
JSUFileInputStream
Definition
JSUFileStream.h:12
JSUFileInputStream::getLength
s32 getLength() const
Definition
JSUFileStream.cpp:67
JSUFileInputStream::mFile
JKRFile * mFile
Definition
JSUFileStream.h:24
JSUFileInputStream::getPosition
s32 getPosition() const
Definition
JSUFileStream.cpp:72
JSUFileInputStream::seekPos
s32 seekPos(s32, JSUStreamSeekFrom)
Definition
JSUFileStream.cpp:39
JSUFileInputStream::mPosition
s32 mPosition
Definition
JSUFileStream.h:25
JSUFileInputStream::~JSUFileInputStream
virtual ~JSUFileInputStream()
Definition
JSUFileStream.h:14
JSUFileInputStream::readData
u32 readData(void *, s32)
Definition
JSUFileStream.cpp:17
JSURandomInputStream
Definition
JSURandomInputStream.h:10
u32
unsigned long u32
Definition
types.h:10
s32
signed long s32
Definition
types.h:6
include
JSystem
JSupport
JSUFileStream.h
Generated by
1.9.8