|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
Maps a checkbox to its corresponding environment variable. More...
#include <env_var_mapping.h>
Public Member Functions | |
| bool | isSetIn (const std::map< std::string, std::string > &envVars) const |
Public Attributes | |
| bool * | boolFlag |
| EnvVarCheckBox ** | checkbox |
| QString | envKey |
| QString | envValue |
Maps a checkbox to its corresponding environment variable.
This struct enables data-driven management of environment variable checkboxes, replacing hundreds of lines of if-else chains with a simple loop over mappings.
Definition at line 26 of file env_var_mapping.h.
|
inline |
Definition at line 34 of file env_var_mapping.h.
| bool* EnvVarMapping::boolFlag |
Definition at line 31 of file env_var_mapping.h.
| EnvVarCheckBox** EnvVarMapping::checkbox |
Definition at line 30 of file env_var_mapping.h.
| QString EnvVarMapping::envKey |
Definition at line 28 of file env_var_mapping.h.
Referenced by isSetIn().
| QString EnvVarMapping::envValue |
Definition at line 29 of file env_var_mapping.h.
Referenced by isSetIn().