| 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 |
no test coverage detected