| 6 | #include "WindowController.h" |
| 7 | |
| 8 | void GenericFileDialog::showOpenFileDialog( |
| 9 | std::string const& title, |
| 10 | std::string const& filter, |
| 11 | std::string startingPath, |
| 12 | std::function<void(std::filesystem::path const&)> const& actionFunc) |
| 13 | { |
| 14 | _actionFunc = actionFunc; |
| 15 | ifd::FileDialog::Instance().Open("GenericFileDialog", title, filter, false, startingPath); |
| 16 | } |
| 17 | |
| 18 | void GenericFileDialog::showSaveFileDialog( |
| 19 | std::string const& title, |
no test coverage detected