mirror of
https://github.com/wiiu-env/WUMSLoader.git
synced 2024-11-05 07:45:08 +01:00
30 lines
539 B
C++
30 lines
539 B
C++
#pragma once
|
|
|
|
#include <wums.h>
|
|
|
|
class ExportData {
|
|
|
|
public:
|
|
ExportData(wums_entry_type_t type, const std::string &name, const void *address) {
|
|
this->type = type;
|
|
this->name = name;
|
|
this->address = address;
|
|
}
|
|
|
|
const wums_entry_type_t getType() const {
|
|
return type;
|
|
}
|
|
|
|
const void *getAddress() const {
|
|
return address;
|
|
}
|
|
|
|
const std::string getName() const {
|
|
return name;
|
|
}
|
|
|
|
private:
|
|
wums_entry_type_t type;
|
|
std::string name;
|
|
const void *address;
|
|
}; |