mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-12-18 17:11:54 +01:00
20 lines
521 B
C++
20 lines
521 B
C++
#include "ImportRPLInformation.h"
|
|
#include <cstring>
|
|
|
|
ImportRPLInformation::ImportRPLInformation(std::string_view name) {
|
|
this->mName = name;
|
|
}
|
|
|
|
ImportRPLInformation::~ImportRPLInformation() = default;
|
|
|
|
[[nodiscard]] const std::string &ImportRPLInformation::getName() const {
|
|
return mName;
|
|
}
|
|
|
|
[[nodiscard]] std::string ImportRPLInformation::getRPLName() const {
|
|
return mName.substr(strlen(".dimport_"));
|
|
}
|
|
|
|
[[nodiscard]] bool ImportRPLInformation::isData() const {
|
|
return mName.starts_with(".dimport_");
|
|
} |