mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-12-25 20:41:48 +01:00
22 lines
795 B
C++
22 lines
795 B
C++
#include "ConfigDisplayItem.h"
|
|
#include "config/WUPSConfig.h"
|
|
|
|
ConfigDisplayItem::ConfigDisplayItem(GeneralConfigInformation &info,
|
|
std::unique_ptr<WUPSConfigAPIBackend::WUPSConfig> config,
|
|
const bool isActive) : mConfig(std::move(config)),
|
|
mInfo(std::move(info)),
|
|
mIsActivePlugin(isActive) {
|
|
assert(mConfig);
|
|
}
|
|
|
|
const GeneralConfigInformation &ConfigDisplayItem::getConfigInformation() const {
|
|
return mInfo;
|
|
}
|
|
|
|
const WUPSConfigAPIBackend::WUPSConfig &ConfigDisplayItem::getConfig() const {
|
|
return *mConfig;
|
|
}
|
|
|
|
bool ConfigDisplayItem::isActivePlugin() const {
|
|
return mIsActivePlugin;
|
|
} |