| 186 | } |
| 187 | |
| 188 | bool VR_IsInterfaceVersionValid(const char *pchInterfaceVersion) |
| 189 | { |
| 190 | std::lock_guard<std::recursive_mutex> lock( g_mutexSystem ); |
| 191 | |
| 192 | if (!g_pHmdSystem) |
| 193 | { |
| 194 | return false; |
| 195 | } |
| 196 | |
| 197 | return g_pHmdSystem->IsInterfaceVersionValid(pchInterfaceVersion) == VRInitError_None; |
| 198 | } |
| 199 | |
| 200 | bool VR_IsHmdPresent() |
| 201 | { |
no test coverage detected