Changeset View
Changeset View
Standalone View
Standalone View
source/ps/ConfigDB.h
Show First 20 Lines • Show All 104 Lines • ▼ Show 20 Lines | public: | ||||
/** | /** | ||||
* Save a config value in the specified namespace. If the config variable | * Save a config value in the specified namespace. If the config variable | ||||
* existed the value is replaced. | * existed the value is replaced. | ||||
*/ | */ | ||||
void SetValueString(EConfigNamespace ns, const CStr& name, const CStr& value); | void SetValueString(EConfigNamespace ns, const CStr& name, const CStr& value); | ||||
void SetValueBool(EConfigNamespace ns, const CStr& name, const bool value); | void SetValueBool(EConfigNamespace ns, const CStr& name, const bool value); | ||||
void SetValueList(EConfigNamespace ns, const CStr& name, std::vector<CStr> values); | |||||
/** | /** | ||||
* Remove a config value in the specified namespace. | * Remove a config value in the specified namespace. | ||||
*/ | */ | ||||
void RemoveValue(EConfigNamespace ns, const CStr& name); | void RemoveValue(EConfigNamespace ns, const CStr& name); | ||||
/** | /** | ||||
* Set the path to the config file used to populate the specified namespace | * Set the path to the config file used to populate the specified namespace | ||||
* Note that this function does not actually load the config file. Use | * Note that this function does not actually load the config file. Use | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator