#pragma once #include "config/WUPSConfig.h" #include #include struct GeneralConfigInformation { std::string name; std::string author; std::string version; }; class ConfigDisplayItem { public: ConfigDisplayItem(GeneralConfigInformation &info, std::unique_ptr config); [[nodiscard]] const GeneralConfigInformation &getConfigInformation() const; [[nodiscard]] const WUPSConfigAPIBackend::WUPSConfig &getConfig() const; private: std::unique_ptr mConfig; GeneralConfigInformation mInfo; };