mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-15 00:35:46 -04:00
FullscreenUI: Use native file selector on Flatpak
This commit is contained in:
@ -12,6 +12,7 @@
|
||||
#include "scmversion/scmversion.h"
|
||||
|
||||
#include "util/gpu_device.h"
|
||||
#include "util/imgui_fullscreen.h"
|
||||
#include "util/imgui_manager.h"
|
||||
#include "util/input_manager.h"
|
||||
#include "util/platform_misc.h"
|
||||
@ -387,6 +388,18 @@ void Host::OnCoverDownloaderOpenRequested()
|
||||
// noop
|
||||
}
|
||||
|
||||
bool Host::ShouldPreferHostFileSelector()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
void Host::OpenHostFileSelectorAsync(std::string_view title, bool select_directory, FileSelectorCallback callback,
|
||||
FileSelectorFilters filters /* = FileSelectorFilters() */,
|
||||
std::string_view initial_directory /* = std::string_view() */)
|
||||
{
|
||||
callback(std::string());
|
||||
}
|
||||
|
||||
std::optional<u32> InputManager::ConvertHostKeyboardStringToCode(std::string_view str)
|
||||
{
|
||||
return std::nullopt;
|
||||
|
Reference in New Issue
Block a user