mirror of
https://github.com/zeldaret/tp
synced 2026-09-02 18:02:55 -04:00
run clang-format
This commit is contained in:
@@ -1,28 +1,26 @@
|
||||
#ifndef __JKRFILE_H__
|
||||
#define __JKRFILE_H__
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "JSystem/JKernel/JKRDisposer/JKRDisposer.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
class JKRFile : public JKRDisposer {
|
||||
public:
|
||||
public:
|
||||
JKRFile() : mIsAvailable(false) {}
|
||||
virtual ~JKRFile() {}
|
||||
|
||||
s32 read(void*, long, long);
|
||||
|
||||
bool isAvailable() {
|
||||
return this->mIsAvailable;
|
||||
}
|
||||
bool isAvailable() { return this->mIsAvailable; }
|
||||
|
||||
public:
|
||||
public:
|
||||
/* vt[03] */ virtual bool open(const char*) = 0;
|
||||
/* vt[04] */ virtual void close() = 0;
|
||||
/* vt[05] */ virtual s32 readData(void*, long, long) = 0;
|
||||
/* vt[06] */ virtual s32 writeData(const void*, long, long) = 0;
|
||||
/* vt[07] */ virtual s32 getFileSize() const = 0;
|
||||
|
||||
protected:
|
||||
protected:
|
||||
bool mIsAvailable;
|
||||
u8 field_0x19[3];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user