| 11 | } |
| 12 | |
| 13 | json PVRGetSets() { |
| 14 | try { |
| 15 | return json::parse(ifstream(setsFile)); |
| 16 | } catch (const exception &err) { |
| 17 | PVR_DB("Error retrieving setting: "s + err.what()); |
| 18 | } |
| 19 | return json(); |
| 20 | } |
| 21 | |
| 22 | void PVRSaveSets(json j) { ofstream(setsFile) << j.dump(4); } |
nothing calls this directly
no outgoing calls
no test coverage detected