MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / Save_conf

Function Save_conf

src/Settings.cpp:167–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165
166
167 TStatus Save_conf(const ProgramConfig& gui) {
168
169 auto path = ProgramConfig::GetPath_Conf();
170 std::ofstream outp(path, std::ios::binary);
171 IFS_RET(Save_conf_To_Stream(outp, gui));
172
173 RETURN_SUCCESS;
174 }
175
176 TStatus Save_conf_To_Stream(std::ostream& outp, const ProgramConfig& gui) {
177 try {

Callers 1

SaveGuiConfigFunction · 0.85

Calls 1

Save_conf_To_StreamFunction · 0.85

Tested by

no test coverage detected