MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / writeBool

Method writeBool

source/ui/data/configFile.cpp:73–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void ConfigFile::writeBool(BString name, bool value) {
74 this->values.set(name, B(value?"1":"0"));
75}
76
77void ConfigFile::writeInt(BString name, int value) {
78 this->values.set(name, BString::valueOf(value));

Callers 2

saveConfigMethod · 0.80
saveAppMethod · 0.80

Calls 2

BFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected