| 1264 | } |
| 1265 | |
| 1266 | OVR_PUBLIC_FUNCTION(ovrBool) ovr_SetString(ovrSession session, const char* propertyName, const char* value) |
| 1267 | { |
| 1268 | REV_TRACE(ovr_SetString); |
| 1269 | |
| 1270 | if (!session) |
| 1271 | return false; |
| 1272 | |
| 1273 | vr::EVRSettingsError error = vr::VRSettingsError_None; |
| 1274 | vr::VRSettings()->SetString(session->AppKey, propertyName, value, &error); |
| 1275 | return error != vr::VRSettingsError_None; |
| 1276 | } |
| 1277 | |
| 1278 | OVR_PUBLIC_FUNCTION(ovrResult) ovr_Lookup(const char* name, void** data) |
| 1279 | { |
nothing calls this directly
no outgoing calls
no test coverage detected