mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-12-19 01:21:53 +01:00
12 lines
471 B
C++
12 lines
471 B
C++
|
#include "ConfigDisplayItem.h"
|
||
|
#include "config/WUPSConfig.h"
|
||
|
|
||
|
ConfigDisplayItem::ConfigDisplayItem(GeneralConfigInformation &info, std::unique_ptr<WUPSConfigAPIBackend::WUPSConfig> config) : mConfig(std::move(config)), mInfo(std::move(info)) {
|
||
|
assert(mConfig);
|
||
|
}
|
||
|
const GeneralConfigInformation &ConfigDisplayItem::getConfigInformation() const {
|
||
|
return mInfo;
|
||
|
}
|
||
|
const WUPSConfigAPIBackend::WUPSConfig &ConfigDisplayItem::getConfig() const {
|
||
|
return *mConfig;
|
||
|
}
|