mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-12-19 01:21:53 +01:00
24 lines
608 B
C++
24 lines
608 B
C++
#pragma once
|
|
|
|
#include "config/WUPSConfig.h"
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
struct GeneralConfigInformation {
|
|
std::string name;
|
|
std::string author;
|
|
std::string version;
|
|
};
|
|
|
|
class ConfigDisplayItem {
|
|
public:
|
|
ConfigDisplayItem(GeneralConfigInformation &info, std::unique_ptr<WUPSConfigAPIBackend::WUPSConfig> config);
|
|
|
|
[[nodiscard]] const GeneralConfigInformation &getConfigInformation() const;
|
|
|
|
[[nodiscard]] const WUPSConfigAPIBackend::WUPSConfig &getConfig() const;
|
|
|
|
private:
|
|
std::unique_ptr<WUPSConfigAPIBackend::WUPSConfig> mConfig;
|
|
GeneralConfigInformation mInfo;
|
|
}; |