MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / setComponentConfig

Method setComponentConfig

App/AppConfig.cpp:104–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void
105AppConfig::setComponentConfig(const char *field, Suscan::Object const &obj)
106{
107 if (!obj.isHollow()) {
108 Suscan::Object dup;
109 dup.copyFrom(obj);
110 this->cachedComponentConfig.setField(field, dup);
111 }
112}
113
114#define TRYSILENT(x) \
115 try { x; } catch (Suscan::Exception const &) {}

Callers 2

unregisterUIComponentMethod · 0.80
saveUIConfigMethod · 0.80

Calls 3

isHollowMethod · 0.80
copyFromMethod · 0.80
setFieldMethod · 0.80

Tested by

no test coverage detected