| 51 | } |
| 52 | |
| 53 | void Settings::setDefaultValue(const UTF8 *settingName, const UTF8 *settingValue, const UTF8 *settingType) |
| 54 | { |
| 55 | String baseName; |
| 56 | buildGroupString(baseName, settingName); |
| 57 | String name = baseName + "_default"; |
| 58 | StringTableEntry nameEntry = StringTable->insert(name.c_str()); |
| 59 | String type = baseName + "_type"; |
| 60 | StringTableEntry typeEntry = StringTable->insert(type.c_str()); |
| 61 | |
| 62 | setModStaticFields(false); |
| 63 | setDataField(nameEntry, NULL, settingValue); |
| 64 | setDataField(typeEntry, NULL, settingType); |
| 65 | setModStaticFields(true); |
| 66 | } |
| 67 | |
| 68 | void Settings::setValue(const UTF8 *settingName, const UTF8 *settingValue) |
| 69 | { |
no test coverage detected