#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_SAVES_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_SAVES_H #include "components/settings/sanitizerimpl.hpp" #include "components/settings/settingvalue.hpp" #include #include #include #include #include #include namespace Settings { struct SavesCategory : WithIndex { using WithIndex::WithIndex; SettingValue mCharacter{ mIndex, "Saves", "character" }; SettingValue mAutosave{ mIndex, "Saves", "autosave" }; SettingValue mTimeplayed{ mIndex, "Saves", "timeplayed" }; SettingValue mMaxQuicksaves{ mIndex, "Saves", "max quicksaves", makeMaxSanitizerInt(1) }; }; } #endif