3 #include <portable-file-dialogs.h>
22 const std::string& initial_path =
".",
23 const bool allow_multiselect =
true,
24 const std::initializer_list<std::string>& filters = {
"All Files",
"*"});
31 std::vector<std::
string>
Show() const;
35 std::
string m_initial_path;
36 bool m_allow_multiselect;
37 std::vector<std::
string> m_filters;
#define NS_ENIGMA_BEGIN
Enable/Disable Assertions.
std::vector< std::string > Show() const
Spawns Open File Dialog and returns selected file(s) paths.
OpenFileDialog(const std::string &title, const std::string &initial_path=".", const bool allow_multiselect=true, const std::initializer_list< std::string > &filters={"All Files", "*"})
~OpenFileDialog() noexcept=default