diff options
Diffstat (limited to 'src/common/settings.h')
| -rw-r--r-- | src/common/settings.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index 4ca8299b3..e60105059 100644 --- a/src/common/settings.h +++ b/src/common/settings.h | |||
| @@ -143,6 +143,7 @@ enum class Category : u32 { | |||
| 143 | AddOns, | 143 | AddOns, |
| 144 | Controls, | 144 | Controls, |
| 145 | Ui, | 145 | Ui, |
| 146 | UiGeneral, | ||
| 146 | UiLayout, | 147 | UiLayout, |
| 147 | UiGameList, | 148 | UiGameList, |
| 148 | Screenshots, | 149 | Screenshots, |
| @@ -209,8 +210,10 @@ public: | |||
| 209 | 210 | ||
| 210 | class Linkage { | 211 | class Linkage { |
| 211 | public: | 212 | public: |
| 212 | std::map<Category, std::forward_list<BasicSetting*>> by_category; | 213 | explicit Linkage(); |
| 213 | std::vector<std::function<void()>> restore_functions; | 214 | ~Linkage(); |
| 215 | std::map<Category, std::forward_list<BasicSetting*>> by_category{}; | ||
| 216 | std::vector<std::function<void()>> restore_functions{}; | ||
| 214 | u32 count; | 217 | u32 count; |
| 215 | }; | 218 | }; |
| 216 | 219 | ||