MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / setSetting

Method setSetting

src/AppConfig.cpp:253–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253void DeviceConfig::setSetting(const std::string& key, std::string value) {
254 settings[key] = value;
255}
256
257std::string DeviceConfig::getSetting(const std::string& key, std::string defaultValue) {
258 if (settings.find(key) == settings.end()) {

Callers 1

writeSettingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected