dolphin/Source/Core/Core/Config
Léo Lam 6763a3fce1 Config: Add support for enums
This makes it possible to use enums as the config type.
Default values are now clearer and there's no need for casts
when calling Config::Get/Set anymore.

In order to add support for enums, the common code was updated to
handle enums by using the underlying type when loading/saving settings.

A copy constructor is also provided for conversions from
`ConfigInfo<Enum>` to `ConfigInfo<underlying_type<Enum>>`
so that enum settings can still easily work with code that doesn't care
about the actual enum values (like Graphics{Choice,Radio} in DolphinQt2
which only treat the setting as an integer).
2018-05-12 18:10:26 +02:00
..
GraphicsSettings.cpp Config: Add support for enums 2018-05-12 18:10:26 +02:00
GraphicsSettings.h Config: Add support for enums 2018-05-12 18:10:26 +02:00
MainSettings.cpp Config: Flatten structures 2017-11-15 18:04:40 +00:00
MainSettings.h Config: Flatten structures 2017-11-15 18:04:40 +00:00
NetplaySettings.cpp Add Quality of Service (QoS) support 2018-03-09 00:11:18 +01:00
NetplaySettings.h Add Quality of Service (QoS) support 2018-03-09 00:11:18 +01:00
SYSCONFSettings.cpp Config: Include SYSCONF in base layer 2017-08-11 15:36:31 +08:00
SYSCONFSettings.h Move SysConf to Core 2018-04-12 22:16:37 +02:00