mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2026-09-28 22:03:13 -05:00
Code cleanup
This commit is contained in:
16
source/plugin/HookData.cpp
Normal file
16
source/plugin/HookData.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "HookData.h"
|
||||
|
||||
HookData::HookData(void *functionPointer, const wups_loader_hook_type_t type) {
|
||||
this->mFunctionPointer = functionPointer;
|
||||
this->mType = type;
|
||||
}
|
||||
|
||||
HookData::~HookData() = default;
|
||||
|
||||
[[nodiscard]] void *HookData::getFunctionPointer() const {
|
||||
return mFunctionPointer;
|
||||
}
|
||||
|
||||
[[nodiscard]] wups_loader_hook_type_t HookData::getType() const {
|
||||
return mType;
|
||||
}
|
||||
Reference in New Issue
Block a user