This commit is contained in:
altalk23 2024-01-28 17:22:27 +03:00
commit 13281e9e99

View file

@ -236,10 +236,11 @@ namespace geode::utils::file {
/**
* Prompt the user to pick a file using the system's file system picker
* @note Will not work on Android, use the callback version instead
* @deprecated Will not work on Android, use the callback version instead
* @param mode Type of file selection prompt to show
* @param options Picker options
*/
[[deprecated("Use overload with callback instead, this will be removed in a later version.")]]
GEODE_DLL Result<ghc::filesystem::path> pickFile(PickMode mode, FilePickOptions const& options);
GEODE_DLL void pickFile(
@ -250,9 +251,10 @@ namespace geode::utils::file {
/**
* Prompt the user to pick a bunch of files for opening using the system's file system picker
* @note Will not work on Android, use the callback version instead
* @deprecated Will not work on Android, use the callback version instead
* @param options Picker options
*/
[[deprecated("Use overload with callback instead, this will be removed in a later version.")]]
GEODE_DLL Result<std::vector<ghc::filesystem::path>> pickFiles(FilePickOptions const& options);
GEODE_DLL void pickFiles(