Use a multiple file select dialog for mod install button

This commit is contained in:
Mr-Wiseguy
2025-04-14 17:18:13 -04:00
parent e44abf27cb
commit 55bfc0153a
3 changed files with 37 additions and 2 deletions
+2
View File
@@ -3,10 +3,12 @@
#include <functional>
#include <filesystem>
#include <vector>
namespace zelda64 {
std::filesystem::path get_asset_path(const char* asset);
void open_file_dialog(std::function<void(bool success, const std::filesystem::path& path)> callback);
void open_file_dialog_multiple(std::function<void(bool success, const std::list<std::filesystem::path>& paths)> callback);
void show_error_message_box(const char *title, const char *message);
// Apple specific methods that usually require Objective-C. Implemented in support_apple.mm.