MCPcopy Create free account
hub / github.com/PhoneVR-Developers/PhoneVR / PVRGetSets

Function PVRGetSets

code/windows/PhoneVR/PhoneVR/PVRFileManager.cpp:13–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13json 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
22void PVRSaveSets(json j) { ofstream(setsFile) << j.dump(4); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected