MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / ContextOpenCommonFileDialog

Function ContextOpenCommonFileDialog

src/openrct2/Context.cpp:1737–1748  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1735 }
1736
1737 u8string ContextOpenCommonFileDialog(FileDialogDesc& desc)
1738 {
1739 try
1740 {
1741 return GetContext()->GetUiContext().ShowFileDialog(desc);
1742 }
1743 catch (const std::exception& ex)
1744 {
1745 LOG_ERROR(ex.what());
1746 return u8string{};
1747 }
1748 }
1749} // namespace OpenRCT2

Callers 2

SelectGogInstallerFunction · 0.85
OpenSystemFileBrowserFunction · 0.85

Calls 3

GetContextFunction · 0.85
ShowFileDialogMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected