diff options
Diffstat (limited to 'src/common/settings_common.h')
| -rw-r--r-- | src/common/settings_common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/settings_common.h b/src/common/settings_common.h index 2efb329b0..5b170dfd5 100644 --- a/src/common/settings_common.h +++ b/src/common/settings_common.h | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | namespace Settings { | 12 | namespace Settings { |
| 13 | 13 | ||
| 14 | enum class Category : u32 { | 14 | enum class Category : u32 { |
| 15 | Android, | ||
| 15 | Audio, | 16 | Audio, |
| 16 | Core, | 17 | Core, |
| 17 | Cpu, | 18 | Cpu, |
| @@ -56,6 +57,7 @@ enum Specialization : u8 { | |||
| 56 | Scalar = 5, // Values are continuous | 57 | Scalar = 5, // Values are continuous |
| 57 | Countable = 6, // Can be stepped through | 58 | Countable = 6, // Can be stepped through |
| 58 | Paired = 7, // Another setting is associated with this setting | 59 | Paired = 7, // Another setting is associated with this setting |
| 60 | Radio = 8, // Setting should be presented in a radio group | ||
| 59 | 61 | ||
| 60 | Percentage = (1 << SpecializationAttributeOffset), // Should be represented as a percentage | 62 | Percentage = (1 << SpecializationAttributeOffset), // Should be represented as a percentage |
| 61 | }; | 63 | }; |
| @@ -67,6 +69,7 @@ public: | |||
| 67 | explicit Linkage(u32 initial_count = 0); | 69 | explicit Linkage(u32 initial_count = 0); |
| 68 | ~Linkage(); | 70 | ~Linkage(); |
| 69 | std::map<Category, std::vector<BasicSetting*>> by_category{}; | 71 | std::map<Category, std::vector<BasicSetting*>> by_category{}; |
| 72 | std::map<std::string, Settings::BasicSetting*> by_key{}; | ||
| 70 | std::vector<std::function<void()>> restore_functions{}; | 73 | std::vector<std::function<void()>> restore_functions{}; |
| 71 | u32 count; | 74 | u32 count; |
| 72 | }; | 75 | }; |