diff options
Diffstat (limited to 'src/KingSystem/ActorSystem/actBaseProcUnit.h')
| -rw-r--r-- | src/KingSystem/ActorSystem/actBaseProcUnit.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/KingSystem/ActorSystem/actBaseProcUnit.h b/src/KingSystem/ActorSystem/actBaseProcUnit.h new file mode 100644 index 00000000..7bfe7e28 --- /dev/null +++ b/src/KingSystem/ActorSystem/actBaseProcUnit.h @@ -0,0 +1,28 @@ +#pragma once + +#include <basis/seadTypes.h> +#include <thread/seadCriticalSection.h> + +namespace ksys::act { + +class BaseProc; +class BaseProcHandle; + +class BaseProcUnit { +public: + bool deleteProc(void*, BaseProcHandle* handle); + bool setProc(BaseProc* proc); + void unlinkProc(BaseProc* proc); + void cleanUp(BaseProc* proc, bool set_flag_5); + bool isParentHandleDefault() const; + +private: + u32 mFlags; + BaseProcHandle* mHandle; + BaseProc* mProc; + // FIXME: + // BaseProcRequest mRequest; + sead::CriticalSection mCS; +}; + +} // namespace ksys::act |
