Files
tp/include/JSystem/JSupport/JSUIosBase.h
T

25 lines
426 B
C++
Raw Normal View History

#ifndef JSUIOSBASE_H_
#define JSUIOSBASE_H_
2021-01-10 02:15:52 +01:00
#include "dolphin/types.h"
enum EIoState {
IOS_STATE_1 = 1,
};
class JSUIosBase {
public:
JSUIosBase() { mState = false; }
virtual ~JSUIosBase();
bool isGood() const { return mState == 0; }
void clrState(EIoState state) { mState &= ~state; }
void setState(EIoState state) { mState |= state; }
private:
u8 mState;
};
#endif