| 923 | } |
| 924 | |
| 925 | std::wstring BrowserWindow::GetFullPathFor(LPCWSTR relativePath) |
| 926 | { |
| 927 | WCHAR path[MAX_PATH]; |
| 928 | GetModuleFileNameW(m_hInst, path, MAX_PATH); |
| 929 | std::wstring pathName(path); |
| 930 | |
| 931 | std::size_t index = pathName.find_last_of(L"\\") + 1; |
| 932 | pathName.replace(index, pathName.length(), relativePath); |
| 933 | |
| 934 | return pathName; |
| 935 | } |
| 936 | |
| 937 | std::wstring BrowserWindow::GetFilePathAsURI(std::wstring fullPath) |
| 938 | { |
nothing calls this directly
no outgoing calls
no test coverage detected