Nui
Loading...
Searching...
No Matches
file_dialog.hpp
Go to the documentation of this file.
1#pragma once
2
4
5#include <functional>
6
7namespace Nui::FileDialog
8{
10 OpenDialogOptions const& options,
11 std::function<void(std::optional<std::vector<std::filesystem::path>>)> onResult);
13 DirectoryDialogOptions const& options,
14 std::function<void(std::optional<std::vector<std::filesystem::path>>)> onResult);
15 void showSaveDialog(
16 SaveDialogOptions const& options,
17 std::function<void(std::optional<std::filesystem::path>)> onResult);
18}
Definition file_dialog.hpp:6
std::optional< std::filesystem::path > showSaveDialog(SaveDialogOptions const &options)
Definition file_dialog.cpp:107
std::optional< std::vector< std::filesystem::path > > showDirectoryDialog(DirectoryDialogOptions const &options)
Definition file_dialog.cpp:98
std::optional< std::vector< std::filesystem::path > > showOpenDialog(OpenDialogOptions const &options)
Definition file_dialog.cpp:88