--------------------------------------------------------------------------- Purpose: Computes the registry filename ---------------------------------------------------------------------------
| 110 | // Purpose: Computes the registry filename |
| 111 | // --------------------------------------------------------------------------- |
| 112 | std::string CVRPathRegistry_Public::GetOpenVRConfigPath() |
| 113 | { |
| 114 | std::string sConfigPath = GetAppSettingsPath(); |
| 115 | if( sConfigPath.empty() ) |
| 116 | return ""; |
| 117 | |
| 118 | #if defined( _WIN32 ) || defined( LINUX ) |
| 119 | sConfigPath = Path_Join( sConfigPath, "openvr" ); |
| 120 | #elif defined ( OSX ) |
| 121 | sConfigPath = Path_Join( sConfigPath, ".openvr" ); |
| 122 | #else |
| 123 | #warning "Unsupported platform" |
| 124 | #endif |
| 125 | sConfigPath = Path_FixSlashes( sConfigPath ); |
| 126 | return sConfigPath; |
| 127 | } |
| 128 | |
| 129 | |
| 130 |
nothing calls this directly
no test coverage detected