| 57 | } |
| 58 | static void setConfigSetting(const std::string& name, const std::string& value) {config.pluginData[name] = value;} |
| 59 | static void setConfigSettingInt(const std::string& name, int value) {config.pluginData[name] = std::to_string(value);} |
| 60 | static void setConfigSettingBool(const std::string& name, bool value) {config.pluginData[name] = value ? "true" : "false";} |
| 61 | static void registerConfigSetting(const std::string& name, int type, const std::function<int(const std::string&, void*)>& callback, void* userdata) {userConfig[name] = std::make_tuple(type, callback, userdata);} |
| 62 | extern void setDistanceProvider(const std::function<double(const Computer *, const Computer *)>& func); |
nothing calls this directly
no outgoing calls
no test coverage detected