struct System { auto loaded() const -> bool { return information.loaded; } auto model() const -> Model { return information.model; } auto colorburst() const -> double { return information.colorburst; } auto run() -> void; auto load(Model model) -> bool; auto save() -> void; auto unload() -> void; auto power() -> void; auto reset() -> void; private: struct Information { bool loaded = false; Model model = Model::MasterSystem; string manifest; double colorburst = 0.0; } information; }; extern System system;